Codechange: Give ColourShade values names instead of numbers.
This commit is contained in:

committed by
Peter Nelson

parent
ae3390fe48
commit
912d7bd80e
@@ -1124,7 +1124,7 @@ public:
|
||||
int top = (this->order_over < this->selected_order ? y : y + line_height) - WidgetDimensions::scaled.framerect.top;
|
||||
int bottom = std::min(top + 2, ir.bottom);
|
||||
top = std::max(top - 3, ir.top);
|
||||
GfxFillRect(ir.left, top, ir.right, bottom, GetColourGradient(COLOUR_GREY, SHADE_7));
|
||||
GfxFillRect(ir.left, top, ir.right, bottom, GetColourGradient(COLOUR_GREY, SHADE_LIGHTEST));
|
||||
break;
|
||||
}
|
||||
y += line_height;
|
||||
|
Reference in New Issue
Block a user