1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-31 18:41:20 +00:00

Fix DistractionFreeMode and BottomPanel

This commit is contained in:
arkology
2025-12-03 10:00:33 +00:00
parent 2ecefada8d
commit 828242a41d
2 changed files with 5 additions and 5 deletions

View File

@@ -115,10 +115,10 @@ void EditorBottomPanel::_repaint() {
pin_button->set_visible(!panel_collapsed);
expand_button->set_visible(!panel_collapsed);
if (expand_button->is_pressed()) {
EditorNode::get_top_split()->set_visible(panel_collapsed);
_expand_button_toggled(!panel_collapsed);
} else {
_theme_changed();
}
_theme_changed();
}
void EditorBottomPanel::save_layout_to_config(Ref<ConfigFile> p_config_file, const String &p_section) const {