summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/spray-tool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/tools/spray-tool.cpp')
-rw-r--r--src/ui/tools/spray-tool.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/tools/spray-tool.cpp b/src/ui/tools/spray-tool.cpp
index 52a8d114d..bc5eac75f 100644
--- a/src/ui/tools/spray-tool.cpp
+++ b/src/ui/tools/spray-tool.cpp
@@ -1245,6 +1245,7 @@ bool SprayTool::root_handler(GdkEvent* event) {
sp_spray_extinput(this, event);
desktop->canvas->forceFullRedrawAfterInterruptions(3);
+ set_high_motion_precision();
this->is_drawing = true;
this->is_dilating = true;
this->has_dilated = false;
@@ -1341,6 +1342,7 @@ bool SprayTool::root_handler(GdkEvent* event) {
Geom::Point const motion_dt(desktop->w2d(motion_w));
desktop->canvas->endForcedFullRedraws();
+ set_high_motion_precision(false);
this->is_drawing = false;
if (this->is_dilating && event->button.button == 1 && !this->space_panning) {