Skip to content

Commit

Permalink
Fix canvas not being updated when using camera tool
Browse files Browse the repository at this point in the history
  • Loading branch information
MrStevns committed Sep 29, 2023
1 parent 70fb576 commit 7f9687d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core_lib/src/tool/basetool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 7f9687d

Please sign in to comment.