LibGUI: Use system theme when painting GlyphMapWidget focus outline

This commit is contained in:
thankyouverycool 2022-03-18 20:36:15 -04:00 committed by Andreas Kling
commit a26e71a137
Notes: sideshowbarker 2024-07-17 21:11:12 +09:00

View file

@ -133,7 +133,7 @@ void GlyphMapWidget::paint_event(PaintEvent& event)
} else
painter.fill_rect(outer_rect, palette().window());
}
painter.draw_focus_rect(get_outer_rect(m_active_glyph), Gfx::Color::Black);
painter.draw_focus_rect(get_outer_rect(m_active_glyph), palette().focus_outline());
}
Optional<int> GlyphMapWidget::glyph_at_position(Gfx::IntPoint position) const