1
Fork 0
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:
Andreas Kling 2019-03-27 20:48:23 +01:00
parent d71820a382
commit 670e376e27
10 changed files with 65 additions and 20 deletions

View file

@ -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 {