mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2026-01-03 06:13:45 +01:00
Add an option for designs to always force a redraw.
This commit is contained in:
parent
86c871fa81
commit
2713e6f1f6
11 changed files with 52 additions and 6 deletions
|
|
@ -136,6 +136,13 @@ public class DesignDetailTab
|
|||
if (hovered || ImGui.IsItemHovered())
|
||||
ImGui.SetTooltip("Display or hide this design in your quick design bar.");
|
||||
|
||||
var forceRedraw = _selector.Selected!.ForcedRedraw;
|
||||
ImGuiUtil.DrawFrameColumn("Force Redrawing");
|
||||
ImGui.TableNextColumn();
|
||||
if (ImGui.Checkbox("##ForceRedraw", ref forceRedraw))
|
||||
_manager.ChangeForcedRedraw(_selector.Selected!, forceRedraw);
|
||||
ImGuiUtil.HoverTooltip("Set this design to always force a redraw when it is applied through any means.");
|
||||
|
||||
ImGuiUtil.DrawFrameColumn("Color");
|
||||
var colorName = _selector.Selected!.Color.Length == 0 ? DesignColors.AutomaticName : _selector.Selected!.Color;
|
||||
ImGui.TableNextColumn();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue