diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-06-04 15:45:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-04 15:45:43 +0200 |
commit | 7a5eba16d88f6e9445a5e68dee6456e2568ff1d1 (patch) | |
tree | 8f6e8c0a17f063dceb0f9889e5687a7ad6b5bf55 /editor/plugins/tiles | |
parent | b34677580c0fa41bbfb9ddb590518e3f2ff22120 (diff) | |
parent | 87cfe90f6ec73e391f33855b11a7af9923ffda2a (diff) |
Merge pull request #61679 from fire-forge/tilemap-grid
Update viewport when toggling TileMap grid
Diffstat (limited to 'editor/plugins/tiles')
-rw-r--r-- | editor/plugins/tiles/tile_map_editor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/tiles/tile_map_editor.cpp b/editor/plugins/tiles/tile_map_editor.cpp index 6c39244f80..cd8aca2a8e 100644 --- a/editor/plugins/tiles/tile_map_editor.cpp +++ b/editor/plugins/tiles/tile_map_editor.cpp @@ -3428,6 +3428,7 @@ void TileMapEditor::_notification(int p_what) { void TileMapEditor::_on_grid_toggled(bool p_pressed) { EditorSettings::get_singleton()->set("editors/tiles_editor/display_grid", p_pressed); + CanvasItemEditor::get_singleton()->update_viewport(); } void TileMapEditor::_layers_selection_button_draw() { |