Skip to content

Commit 9f03bbf

Browse files
committed
Merge pull request godotengine#100723 from spoxii/patch/gridmap/palette_item_cursor
Update cursor instance when calling `set_selected_palette_item`
2 parents 4bd2724 + 97bb9b7 commit 9f03bbf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/gridmap/editor/grid_map_editor_plugin.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1880,6 +1880,7 @@ void GridMapEditorPlugin::set_selected_palette_item(int p_item) const {
18801880
}
18811881
if (p_item != grid_map_editor->selected_palette) {
18821882
grid_map_editor->selected_palette = p_item;
1883+
grid_map_editor->_update_cursor_instance();
18831884
grid_map_editor->update_palette();
18841885
}
18851886
}

0 commit comments

Comments
 (0)