mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 06:25:08 +00:00
Tweak the look of various UI surfaces and buttons.
This commit is contained in:
parent
d71820a382
commit
670e376e27
10 changed files with 65 additions and 20 deletions
|
@ -167,7 +167,7 @@ Rect GScrollBar::scrubber_rect() const
|
|||
return { };
|
||||
float x_or_y;
|
||||
if (m_value == m_min)
|
||||
x_or_y = button_size() - 1;
|
||||
x_or_y = button_size();
|
||||
else if (m_value == m_max)
|
||||
x_or_y = ((orientation() == Orientation::Vertical ? height() : width()) - (button_size() * 2)) + 1;
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue