From 4ce689b25c14ad64cfe4ef5932cae00ed7d1a006 Mon Sep 17 00:00:00 2001 From: Nathan Lee <2431820-nathanal@users.noreply.gitlab.com> Date: Sun, 23 Jun 2019 12:51:35 +1000 Subject: Update pen tool path instantly on mode change --- src/ui/tools/pen-tool.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ui/tools') diff --git a/src/ui/tools/pen-tool.cpp b/src/ui/tools/pen-tool.cpp index 7708cd86b..9bcef5fc8 100644 --- a/src/ui/tools/pen-tool.cpp +++ b/src/ui/tools/pen-tool.cpp @@ -162,6 +162,8 @@ void PenTool::setPolylineMode() { this->spiro = (mode == 1); this->bspline = (mode == 2); this->_bsplineSpiroColor(); + if (!this->green_bpaths.empty()) + this->_redrawAll(); } /** -- cgit v1.2.3