mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-03 14:50:02 +00:00
LibGUI: Make buttons a little bit sharper.
This commit is contained in:
parent
702adb13c1
commit
6c70629a49
Notes:
sideshowbarker
2024-07-19 15:06:01 +09:00
Author: https://github.com/awesomekling
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);
|
||||
|
||||
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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue