studio: improve behavior of help window
PiperOrigin-RevId: 908132295 Change-Id: Iac0aead82a575dffbe35e3be8ba06af13986d1a2
This commit is contained in:
committed by
Copybara-Service
parent
e71bd3db8e
commit
22ca5fe0df
@@ -347,6 +347,11 @@ ImVec4 ConfigureDockingLayout() {
|
||||
ImGui::End();
|
||||
}
|
||||
|
||||
ImGuiDockNode* central = ImGui::DockBuilderGetCentralNode(root);
|
||||
if (central) {
|
||||
return ImVec4(central->Pos.x, central->Pos.y,
|
||||
central->Size.x, central->Size.y);
|
||||
}
|
||||
const int settings_width = dockspace_size.x * kOptionsRelWidth;
|
||||
const int inspector_width = dockspace_size.x * kInspectorRelWidth;
|
||||
const float workspace_x = dockspace_pos.x + settings_width;
|
||||
|
||||
Reference in New Issue
Block a user