mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-12 10:17:23 +01:00
Add a border around the enable/disable all toggle in Automated Designs.
This commit is contained in:
parent
d0b7c1f607
commit
506795b241
1 changed files with 7 additions and 2 deletions
|
|
@ -303,8 +303,13 @@ public class SetPanel
|
|||
using var style = ImRaii.PushStyle(ImGuiStyleVar.ItemSpacing, new Vector2(2 * ImGuiHelpers.GlobalScale));
|
||||
var newType = design.ApplicationType;
|
||||
var newTypeInt = (uint)newType;
|
||||
style.Push(ImGuiStyleVar.FrameBorderSize, ImGuiHelpers.GlobalScale);
|
||||
using (var c = ImRaii.PushColor(ImGuiCol.Border, ColorId.FolderLine.Value()))
|
||||
{
|
||||
if (ImGui.CheckboxFlags("##all", ref newTypeInt, (uint)AutoDesign.Type.All))
|
||||
newType = (AutoDesign.Type)newTypeInt;
|
||||
}
|
||||
style.Pop();
|
||||
ImGuiUtil.HoverTooltip("Toggle all modes at once.");
|
||||
|
||||
void Box(int idx)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue