Skip to content

Commit

Permalink
gearbox wheel text color
Browse files Browse the repository at this point in the history
  • Loading branch information
jaih1r0 committed Aug 29, 2024
1 parent dd3c046 commit 4440837
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions TEXTCOLO.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,12 @@ PB_PowerSpeed
#DBA914 #EFC954
}

PBWheel_Text
{
#003584 #006398 0 64
#2886A7 #00CCE7 65 200
#83E6FF #E6F9FD 201 256
console:
#003584 #006398 0 127
#2886A7 #83E6FF 128 256
}
2 changes: 1 addition & 1 deletion zscript/gearbox/wheel/view.zs
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ class gb_WheelView
vector2 pos = mCenter;
pos.y += mScreen.getWheelRadius() * (isOnTop ? -1 : 1);

mText.drawBox(ammo1, description, ammo2, pos, !isOnTop, mBaseColor, mAlpha,font.CR_LIGHTBLUE,true);
mText.drawBox(ammo1, description, ammo2, pos, !isOnTop, mBaseColor, mAlpha,font.FindFontColor("PBWheel_Text"),true);
}

private
Expand Down

0 comments on commit 4440837

Please sign in to comment.