1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:28:11 +00:00

LibGUI: Make buttons a little bit sharper.

This commit is contained in:
Andreas Kling 2019-03-10 00:57:57 +01:00
parent 702adb13c1
commit 6c70629a49

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());