mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-13 20:24:17 +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)
|
switch (design)
|
||||||
{
|
{
|
||||||
case Design realDesign:
|
case Design realDesign:
|
||||||
|
|
||||||
{
|
{
|
||||||
using var color = ImRaii.PushColor(ImGuiCol.Text, DesignColors.GetColor(realDesign));
|
using var color = ImRaii.PushColor(ImGuiCol.Text, DesignColors.GetColor(realDesign));
|
||||||
ret = base.DrawSelectable(globalIdx, selected);
|
ret = base.DrawSelectable(globalIdx, selected);
|
||||||
|
|
@ -57,6 +56,7 @@ public abstract class DesignComboBase : FilterComboCache<Tuple<IDesignStandIn, s
|
||||||
}
|
}
|
||||||
case QuickSelectedDesign quickDesign:
|
case QuickSelectedDesign quickDesign:
|
||||||
{
|
{
|
||||||
|
using var color = ImRaii.PushColor(ImGuiCol.Text, ColorId.NormalDesign.Value());
|
||||||
ret = base.DrawSelectable(globalIdx, selected);
|
ret = base.DrawSelectable(globalIdx, selected);
|
||||||
DrawResolvedDesign(quickDesign);
|
DrawResolvedDesign(quickDesign);
|
||||||
return ret;
|
return ret;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue