|
@@ -181,7 +181,11 @@ export class SGraphScene {
|
|
|
SGraphScene.toGrabItemMotionEvent(this.grabItem, event)
|
|
|
);
|
|
|
}
|
|
|
- return this.root.onMouseDown(event);
|
|
|
+ const flag = this.root.onMouseDown(event);
|
|
|
+ if (!flag) {
|
|
|
+ this.selectContainer.clear();
|
|
|
+ }
|
|
|
+ return flag;
|
|
|
} // Function onMouseDown()
|
|
|
|
|
|
/**
|