|
@@ -83,14 +83,11 @@ export class Selector {
|
|
const currentObjects = Objects.get();
|
|
const currentObjects = Objects.get();
|
|
const posRect = this.reverse(this._selectorPosStart, this._selectorPosNow);
|
|
const posRect = this.reverse(this._selectorPosStart, this._selectorPosNow);
|
|
this._selectorPosNow = { x: posIn.x, y: posIn.y };
|
|
this._selectorPosNow = { x: posIn.x, y: posIn.y };
|
|
- console.info(" his._selectorPosStart", this._selectorPosStart);
|
|
|
|
- console.info("posRect", posRect);
|
|
|
|
this._selectorRect.x(posRect.x1);
|
|
this._selectorRect.x(posRect.x1);
|
|
this._selectorRect.y(posRect.y1);
|
|
this._selectorRect.y(posRect.y1);
|
|
this._selectorRect.width(posRect.x2 - posRect.x1);
|
|
this._selectorRect.width(posRect.x2 - posRect.x1);
|
|
this._selectorRect.height(posRect.y2 - posRect.y1);
|
|
this._selectorRect.height(posRect.y2 - posRect.y1);
|
|
this._selectorRect.visible(true);
|
|
this._selectorRect.visible(true);
|
|
- console.info("this._selectorRect", this._selectorRect);
|
|
|
|
for (let i = 0; i < currentObjects.length; i = i + 1) {
|
|
for (let i = 0; i < currentObjects.length; i = i + 1) {
|
|
const aggregator = currentObjects[i];
|
|
const aggregator = currentObjects[i];
|
|
const object = aggregator.konvaObject;
|
|
const object = aggregator.konvaObject;
|