diff options
author | 0xtechnobabble <0xtechnobabble@protonmail.com> | 2020-01-06 01:47:55 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2020-01-07 11:02:43 +0100 |
commit | 123dcada05ca5acf2143fe11e9229eb113b99199 (patch) | |
tree | ae97902b003bab2d2fc75f06dd6508355b1d28e1 /DevTools | |
parent | 56a2c21e0c9177ce8ee66fee66eaaa497b6dfcb6 (diff) | |
download | serenity-123dcada05ca5acf2143fe11e9229eb113b99199.zip |
Themes: Support rubberband selection theming
Diffstat (limited to 'DevTools')
-rw-r--r-- | DevTools/HackStudio/CursorTool.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/DevTools/HackStudio/CursorTool.cpp b/DevTools/HackStudio/CursorTool.cpp index b8450073f2..83ddfaeafe 100644 --- a/DevTools/HackStudio/CursorTool.cpp +++ b/DevTools/HackStudio/CursorTool.cpp @@ -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()); } |