mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 09:51:57 -05:00
LibWeb: Decrease size of the media timeline box a tiny bit
Had this staged and meant to amend 8e3e068d75
, as it makes the media
controls look a bit more balanced in size, but forgot to actually
commit.
This commit is contained in:
parent
8e3e068d75
commit
3dac2f7e58
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ MediaPaintable::Components MediaPaintable::compute_control_bar_components(PaintC
|
|||
auto remaining_rect = components.control_box_rect;
|
||||
remaining_rect.shrink(component_padding * 2, 0);
|
||||
|
||||
auto timeline_rect_height = context.rounded_device_pixels(10);
|
||||
auto timeline_rect_height = context.rounded_device_pixels(8);
|
||||
if ((timeline_rect_height * 3) <= components.control_box_rect.height()) {
|
||||
components.timeline_rect = components.control_box_rect;
|
||||
components.timeline_rect.set_height(timeline_rect_height);
|
||||
|
|
Loading…
Add table
Reference in a new issue