mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-09-30 17:03:41 +08:00
cabana: use ImGui decorations for floating panes (#38871)
* cabana: redraw floating panes during native resizing * cabana: keep rendering while native resize is held * cabana: use ImGui decorations to avoid native resize loops * cabana: draw docking previews only on the target viewport
This commit is contained in:
@@ -165,7 +165,8 @@ public:
|
||||
ImGuiIO &io = ImGui::GetIO();
|
||||
io.ConfigFlags |= ImGuiConfigFlags_DockingEnable;
|
||||
io.ConfigFlags |= ImGuiConfigFlags_ViewportsEnable;
|
||||
io.ConfigViewportsNoDecoration = false;
|
||||
io.ConfigViewportsNoDecoration = true;
|
||||
io.ConfigDockingTransparentPayload = true;
|
||||
io.IniFilename = nullptr;
|
||||
io.LogFilename = nullptr;
|
||||
if (!ImGui_ImplGlfw_InitForOpenGL(window, true)) {
|
||||
|
||||
Reference in New Issue
Block a user