Update viewport when toggling TileMap grid

This commit is contained in:
FireForge 2022-06-03 13:52:53 -05:00
parent c0bf18e923
commit 87cfe90f6e

View file

@ -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() {