mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Update cursor instance when calling set_selected_palette_item
This commit is contained in:
parent
a7a2a12bfd
commit
97bb9b70cb
1 changed files with 1 additions and 0 deletions
|
|
@ -1854,6 +1854,7 @@ void GridMapEditorPlugin::set_selected_palette_item(int p_item) const {
|
|||
}
|
||||
if (p_item != grid_map_editor->selected_palette) {
|
||||
grid_map_editor->selected_palette = p_item;
|
||||
grid_map_editor->_update_cursor_instance();
|
||||
grid_map_editor->update_palette();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue