summaryrefslogtreecommitdiff
path: root/DevTools
diff options
context:
space:
mode:
Diffstat (limited to 'DevTools')
-rw-r--r--DevTools/HackStudio/CursorTool.cpp4
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());
}