mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Merge pull request #100723 from spoxii/patch/gridmap/palette_item_cursor
Update cursor instance when calling `set_selected_palette_item`
This commit is contained in:
commit
9f03bbf908
1 changed files with 1 additions and 0 deletions
|
|
@ -1880,6 +1880,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