@@ -1,6 +1,6 @@
{
"name": "@saga-web/big",
- "version": "1.0.88",
+ "version": "1.0.90",
"description": "上格云建筑信息化库",
"main": "lib/index.js",
"types": "lib/index.d.js",
@@ -42,6 +42,6 @@
"typescript": "^3.9.3"
},
"dependencies": {
- "@saga-web/graph": "2.1.114"
+ "@saga-web/graph": "2.1.115"
}
"name": "@saga-web/graph",
- "version": "2.1.114",
+ "version": "2.1.115",
"description": "上格云二维图形引擎。",
@@ -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()
/**
import { SObjectItem } from "./SObjectItem";
import { SPainter, SRect, SSize, SColor } from "@saga-web/draw/lib";
-import { SImageShowType } from "../enums/SImageShowType";
+import { SImageShowType } from "..";
import { SGraphItem } from "../SGraphItem";