mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Fix updating editor icons on translation change.
This commit is contained in:
parent
594d64ec24
commit
e47207ad16
7 changed files with 30 additions and 1 deletions
|
|
@ -856,6 +856,8 @@ EditorDockManager::EditorDockManager() {
|
|||
|
||||
void DockContextPopup::_notification(int p_what) {
|
||||
switch (p_what) {
|
||||
case Control::NOTIFICATION_LAYOUT_DIRECTION_CHANGED:
|
||||
case NOTIFICATION_TRANSLATION_CHANGED:
|
||||
case NOTIFICATION_THEME_CHANGED: {
|
||||
if (make_float_button) {
|
||||
make_float_button->set_button_icon(get_editor_theme_icon(SNAME("MakeFloating")));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue