Browse Source

版本升级;注释点击问题

haojianlong 5 years ago
parent
commit
0348d3ebf6
2 changed files with 4 additions and 5 deletions
  1. 1 1
      saga-web-graphy/package.json
  2. 3 4
      saga-web-graphy/src/SGraphyItem.ts

+ 1 - 1
saga-web-graphy/package.json

@@ -1,6 +1,6 @@
 {
     "name": "@saga-web/graphy",
-    "version": "2.1.45",
+    "version": "2.1.47",
     "description": "上格云二维图形引擎。",
     "main": "lib/index.js",
     "types": "lib/index.d.js",

+ 3 - 4
saga-web-graphy/src/SGraphyItem.ts

@@ -315,10 +315,6 @@ export class SGraphyItem extends SObject {
             }
         }
 
-        if (this.selectable) {
-            this.clickSelect(event);
-        }
-
         return false;
     } // Function onClick()
 
@@ -363,6 +359,9 @@ export class SGraphyItem extends SObject {
             }
         }
 
+        // if (this.selectable) {
+        //     this.clickSelect(event);
+        // }
         if (this.moveable) {
             this._mouseDownPos = new SPoint(event.x, event.y);
             this._isMoving = true;