Themes: Support rubberband selection theming

This commit is contained in:
0xtechnobabble
2020-01-06 01:47:55 +02:00
committed by Andreas Kling
parent 56a2c21e0c
commit 123dcada05
9 changed files with 22 additions and 7 deletions

View File

@@ -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());
}