[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

@ -271,7 +271,7 @@ void PopupPanel::_notification(int p_what) {
switch (p_what) {
case NOTIFICATION_READY:
case NOTIFICATION_THEME_CHANGED: {
panel->add_theme_style_override("panel", theme_cache.panel_style);
panel->add_theme_style_override(SceneStringName(panel), theme_cache.panel_style);
_update_child_rects();
} break;