Skip to content

Commit 3f5339a

Browse files
committed
Fix incorrect bottom panel theming
1 parent 2d86b69 commit 3f5339a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editor/gui/editor_bottom_panel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ void EditorBottomPanel::_on_tab_changed(int p_idx) {
5656
}
5757

5858
void EditorBottomPanel::_theme_changed() {
59-
Ref<StyleBox> bottom_tabbar_style = get_theme_stylebox("tabbar_background", "BottomPanel")->duplicate();
59+
Ref<StyleBox> bottom_tabbar_style = EditorNode::get_singleton()->get_editor_theme()->get_stylebox("tabbar_background", "BottomPanel")->duplicate();
6060
bottom_tabbar_style->set_content_margin(SIDE_RIGHT, bottom_hbox->get_minimum_size().x + bottom_tabbar_style->get_content_margin(SIDE_LEFT));
6161
add_theme_style_override("tabbar_background", bottom_tabbar_style);
6262

0 commit comments

Comments
 (0)