1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:38:11 +00:00

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
parent cf13cf7225
commit a26e71a137

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