LibGUI: Make buttons a little bit sharper.

This commit is contained in:
Andreas Kling 2019-03-10 00:57:57 +01:00
commit 6c70629a49
Notes: sideshowbarker 2024-07-19 15:06:01 +09:00

View file

@ -21,7 +21,7 @@ void GStyle::paint_button(Painter& painter, const Rect& rect, GButtonStyle butto
Color shadow_color = Color(96, 96, 96);
if (button_style == GButtonStyle::Normal)
painter.draw_rect(rect, Color::Black, true);
painter.draw_rect(rect, Color::Black);
PainterStateSaver saver(painter);
painter.translate(rect.location());