mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-24 00:24:38 +00:00
Themes: Support rubberband selection theming
This commit is contained in:
committed by
Andreas Kling
parent
56a2c21e0c
commit
123dcada05
@@ -154,6 +154,6 @@ void CursorTool::on_second_paint(GPainter& painter, GPaintEvent&)
|
||||
if (!m_rubber_banding)
|
||||
return;
|
||||
auto rect = rubber_band_rect();
|
||||
painter.fill_rect(rect, Color(244, 202, 158, 60));
|
||||
painter.draw_rect(rect, Color(110, 34, 9));
|
||||
painter.fill_rect(rect, m_editor.palette().rubber_band_fill());
|
||||
painter.draw_rect(rect, m_editor.palette().rubber_band_border());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user