From 3dac2f7e58f076ab4e97b537cc40c90938cdf967 Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Thu, 22 Jun 2023 14:20:26 -0400 Subject: [PATCH] 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. --- Userland/Libraries/LibWeb/Painting/MediaPaintable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibWeb/Painting/MediaPaintable.cpp b/Userland/Libraries/LibWeb/Painting/MediaPaintable.cpp index 13a0a9640e..ab950f96ca 100644 --- a/Userland/Libraries/LibWeb/Painting/MediaPaintable.cpp +++ b/Userland/Libraries/LibWeb/Painting/MediaPaintable.cpp @@ -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);