mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-23 12:26:59 +01:00
Backported from godot4: Correctly update TileMapLayer highlighting when disabling it
- groud
256a6713f2
This commit is contained in:
parent
8648a32667
commit
4cad999f60
@ -4042,7 +4042,12 @@ void LayeredTileMapLayerEditor::_highlight_selected_layer_button_toggled(bool p_
|
|||||||
}
|
}
|
||||||
|
|
||||||
EditorSettings::get_singleton()->set("editors/layered_tiles_editor/highlight_selected_layer", p_pressed);
|
EditorSettings::get_singleton()->set("editors/layered_tiles_editor/highlight_selected_layer", p_pressed);
|
||||||
_update_all_layers_highlighting();
|
|
||||||
|
if (p_pressed) {
|
||||||
|
_update_all_layers_highlighting();
|
||||||
|
} else {
|
||||||
|
_clear_all_layers_highlighting();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void LayeredTileMapLayerEditor::_advanced_menu_button_id_pressed(int p_id) {
|
void LayeredTileMapLayerEditor::_advanced_menu_button_id_pressed(int p_id) {
|
||||||
|
Loading…
Reference in New Issue
Block a user