Skip to content

Commit 45b427f

Browse files
committed
Merge pull request godotengine#112627 from lodetrick/fix-bottom-panel-theming
Fix incorrect bottom panel theming
2 parents 0bede04 + 3f5339a commit 45b427f

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
@@ -57,7 +57,7 @@ void EditorBottomPanel::_on_tab_changed(int p_idx) {
5757
}
5858

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

0 commit comments

Comments
 (0)