mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:07:34 +00:00
LibGUI: Make buttons a little bit sharper.
This commit is contained in:
parent
702adb13c1
commit
6c70629a49
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ void GStyle::paint_button(Painter& painter, const Rect& rect, GButtonStyle butto
|
||||||
Color shadow_color = Color(96, 96, 96);
|
Color shadow_color = Color(96, 96, 96);
|
||||||
|
|
||||||
if (button_style == GButtonStyle::Normal)
|
if (button_style == GButtonStyle::Normal)
|
||||||
painter.draw_rect(rect, Color::Black, true);
|
painter.draw_rect(rect, Color::Black);
|
||||||
|
|
||||||
PainterStateSaver saver(painter);
|
PainterStateSaver saver(painter);
|
||||||
painter.translate(rect.location());
|
painter.translate(rect.location());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue