瀏覽代碼

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.
Timothy Flynn 2 年之前
父節點
當前提交
3dac2f7e58
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Userland/Libraries/LibWeb/Painting/MediaPaintable.cpp

+ 1 - 1
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);