mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-12 18:27:24 +01:00
Fix color of special designs.
This commit is contained in:
parent
e8907871af
commit
2c0423d2b5
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,6 @@ public abstract class DesignComboBase : FilterComboCache<Tuple<IDesignStandIn, s
|
|||
switch (design)
|
||||
{
|
||||
case Design realDesign:
|
||||
|
||||
{
|
||||
using var color = ImRaii.PushColor(ImGuiCol.Text, DesignColors.GetColor(realDesign));
|
||||
ret = base.DrawSelectable(globalIdx, selected);
|
||||
|
|
@ -57,6 +56,7 @@ public abstract class DesignComboBase : FilterComboCache<Tuple<IDesignStandIn, s
|
|||
}
|
||||
case QuickSelectedDesign quickDesign:
|
||||
{
|
||||
using var color = ImRaii.PushColor(ImGuiCol.Text, ColorId.NormalDesign.Value());
|
||||
ret = base.DrawSelectable(globalIdx, selected);
|
||||
DrawResolvedDesign(quickDesign);
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue