浏览代码

Merge pull request #73349 from dalexeev/fix-tab-bar-redraw

Fix `TabBar` not redrawing on locale change
Yuri Sizov 2 年之前
父节点
当前提交
f2aae8fa5c
共有 1 个文件被更改,包括 2 次插入0 次删除
  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);
 			}
 
+			queue_redraw();
+
 			[[fallthrough]];
 		}
 		case NOTIFICATION_RESIZED: {