Reset last click pointer and selection key on tool mode change in ViewportHost
This commit is contained in:
@@ -253,6 +253,8 @@ export class ViewportHost {
|
||||
|
||||
setToolMode(toolMode: ToolMode) {
|
||||
this.toolMode = toolMode;
|
||||
this.lastClickPointer = null;
|
||||
this.lastClickSelectionKey = null;
|
||||
|
||||
if (toolMode !== "box-create") {
|
||||
this.setBoxCreatePreview(null);
|
||||
|
||||
Reference in New Issue
Block a user