No border around quick design window.

This commit is contained in:
Ottermandias 2023-11-12 13:46:36 +01:00
parent 8f60688e44
commit c4bb24a6ec

View file

@ -64,7 +64,8 @@ public class DesignQuickBar : Window, IDisposable
Flags = GetFlags; Flags = GetFlags;
Size = new Vector2(12 * ImGui.GetFrameHeight(), ImGui.GetFrameHeight()); Size = new Vector2(12 * ImGui.GetFrameHeight(), ImGui.GetFrameHeight());
_windowPadding.Push(ImGuiStyleVar.WindowPadding, new Vector2(ImGuiHelpers.GlobalScale * 4)); _windowPadding.Push(ImGuiStyleVar.WindowPadding, new Vector2(ImGuiHelpers.GlobalScale * 4))
.Push(ImGuiStyleVar.WindowBorderSize, 0);
_windowColor.Push(ImGuiCol.WindowBg, ColorId.QuickDesignBg.Value()) _windowColor.Push(ImGuiCol.WindowBg, ColorId.QuickDesignBg.Value())
.Push(ImGuiCol.Button, ColorId.QuickDesignButton.Value()) .Push(ImGuiCol.Button, ColorId.QuickDesignButton.Value())
.Push(ImGuiCol.FrameBg, ColorId.QuickDesignFrame.Value()); .Push(ImGuiCol.FrameBg, ColorId.QuickDesignFrame.Value());