[Scene] Add SceneStringNames::panel

This commit is contained in:
A Thousand Ships 2024-05-14 15:50:53 +02:00
parent 755a0efbb6
commit 926afccbd8
No known key found for this signature in database
GPG key ID: 2033189A662F8BD7
55 changed files with 149 additions and 145 deletions

View file

@ -113,8 +113,8 @@ void Polygon2DEditor::_notification(int p_what) {
[[fallthrough]];
}
case NOTIFICATION_THEME_CHANGED: {
uv_edit_draw->add_theme_style_override("panel", get_theme_stylebox(SNAME("panel"), SNAME("Tree")));
bone_scroll->add_theme_style_override("panel", get_theme_stylebox(SNAME("panel"), SNAME("Tree")));
uv_edit_draw->add_theme_style_override(SceneStringName(panel), get_theme_stylebox(SceneStringName(panel), SNAME("Tree")));
bone_scroll->add_theme_style_override(SceneStringName(panel), get_theme_stylebox(SceneStringName(panel), SNAME("Tree")));
} break;
case NOTIFICATION_VISIBILITY_CHANGED: {