|
@@ -968,7 +968,7 @@ export class SGraphSelectContainer extends SGraphItem {
|
|
|
event.y - this._mouseDownPos.y
|
|
|
);
|
|
|
this.itemList.forEach(t => {
|
|
|
- t.moveTo(t.pos.x + mp.x, t.pos.y + mp.y);
|
|
|
+ t.moveTo(t.x + mp.x, t.y + mp.y);
|
|
|
});
|
|
|
}
|
|
|
}
|
|
@@ -997,6 +997,9 @@ export class SGraphSelectContainer extends SGraphItem {
|
|
|
onMouseUp(event: SMouseEvent): boolean {
|
|
|
this.curIndex = -1;
|
|
|
super.onMouseUp(event);
|
|
|
+ this.itemList.forEach(t => {
|
|
|
+ t.moveToOrigin(t.x, t.y);
|
|
|
+ });
|
|
|
return true;
|
|
|
} // Function onMouseUp()
|
|
|
|