mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 17:55:09 +00:00
Themes: Support rubberband selection theming
This commit is contained in:
parent
56a2c21e0c
commit
123dcada05
9 changed files with 22 additions and 7 deletions
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue