diff --git a/Libraries/LibWeb/Layout/LayoutButton.cpp b/Libraries/LibWeb/Layout/LayoutButton.cpp index e09b052fd0..653de61a8e 100644 --- a/Libraries/LibWeb/Layout/LayoutButton.cpp +++ b/Libraries/LibWeb/Layout/LayoutButton.cpp @@ -68,7 +68,7 @@ void LayoutButton::paint(PaintContext& context, PaintPhase phase) auto text_rect = enclosing_int_rect(absolute_rect()); if (m_being_pressed) text_rect.move_by(1, 1); - context.painter().draw_text(text_rect, node().value(), specified_style().font(), Gfx::TextAlignment::Center); + context.painter().draw_text(text_rect, node().value(), specified_style().font(), Gfx::TextAlignment::Center, context.palette().button_text()); } }