Ver Fonte

Fix `TabBar` not redrawing on locale change

Danil Alexeev há 2 anos atrás
pai
commit
1cdf3398a0
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      scene/gui/tab_bar.cpp

+ 2 - 0
scene/gui/tab_bar.cpp

@@ -342,6 +342,8 @@ void TabBar::_notification(int p_what) {
 				_shape(i);
 				_shape(i);
 			}
 			}
 
 
+			queue_redraw();
+
 			[[fallthrough]];
 			[[fallthrough]];
 		}
 		}
 		case NOTIFICATION_RESIZED: {
 		case NOTIFICATION_RESIZED: {