fix(new_editor/window): move detached root tab into title bar
This commit is contained in:
@@ -80,6 +80,10 @@ UIRect EditorWindow::ResolveWorkspaceBounds(float clientWidthDips, float clientH
|
||||
return UIRect(0.0f, 0.0f, clientWidthDips, clientHeightDips);
|
||||
}
|
||||
|
||||
if (ShouldUseDetachedTitleBarTabStrip()) {
|
||||
return UIRect(0.0f, 0.0f, clientWidthDips, clientHeightDips);
|
||||
}
|
||||
|
||||
const float titleBarHeight = (std::min)(kBorderlessTitleBarHeightDips, clientHeightDips);
|
||||
return UIRect(
|
||||
0.0f,
|
||||
|
||||
Reference in New Issue
Block a user