From 7f9687dd621ca14f3b615bf6d1f60526925151eb Mon Sep 17 00:00:00 2001 From: MrStevns Date: Fri, 29 Sep 2023 08:05:12 +0200 Subject: [PATCH] Fix canvas not being updated when using camera tool --- core_lib/src/tool/basetool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core_lib/src/tool/basetool.cpp b/core_lib/src/tool/basetool.cpp index c6029edce..759d49c8e 100644 --- a/core_lib/src/tool/basetool.cpp +++ b/core_lib/src/tool/basetool.cpp @@ -111,7 +111,7 @@ void BaseTool::pointerDoubleClickEvent(PointerEvent* event) */ bool BaseTool::isDrawingTool() { - if (type() == ToolType::HAND || type() == ToolType::MOVE || type() == ToolType::SELECT ) + if (type() == ToolType::HAND || type() == ToolType::MOVE || type() == ToolType::CAMERA || type() == ToolType::SELECT ) { return false; }