diff --git a/Userland/Libraries/LibWeb/Painting/VideoPaintable.cpp b/Userland/Libraries/LibWeb/Painting/VideoPaintable.cpp index 8cf61a1c6f..661fbed6a3 100644 --- a/Userland/Libraries/LibWeb/Painting/VideoPaintable.cpp +++ b/Userland/Libraries/LibWeb/Painting/VideoPaintable.cpp @@ -300,7 +300,9 @@ DevicePixelRect VideoPaintable::paint_control_bar_timestamp(PaintContext& contex auto timestamp_rect = control_box_rect; timestamp_rect.set_width(timestamp_size); - context.painter().draw_text(timestamp_rect.to_type(), timestamp, Gfx::TextAlignment::CenterLeft, Color::White); + + auto const& scaled_font = layout_node().scaled_font(context); + context.painter().draw_text(timestamp_rect.to_type(), timestamp, scaled_font, Gfx::TextAlignment::CenterLeft, Color::White); control_box_rect.take_from_left(timestamp_rect.width()); return control_box_rect;