Commit a4a52620 authored by spc's avatar spc

modified: output.js.map

parent 8e47d3f0
......@@ -1925,7 +1925,7 @@ var Main = (function () {
return [4, this.loadImageTexturesCsd02(resCanvasList)];
case 2:
_a.sent();
ctrls_1.changeScene(MainScene_2.OpenAni);
ctrls_1.changeScene(XxlScene_1.XxlScene);
return [2];
}
});
......@@ -15830,13 +15830,15 @@ var XxlScene = (function (_super) {
this.g.moveTo(co.point.x, co.point.y);
this.firstSelectItem = co;
this.selectItems.push(co);
this.addEventListener(FYGE.MouseEvent.MOUSE_MOVE, this.mouseMove, this);
}
this.addEventListener(FYGE.MouseEvent.MOUSE_MOVE, this.mouseMove, this);
};
XxlScene.prototype.mouseMove = function (e) {
var p = { x: e.localX - this.container.x, y: e.localY - this.container.y };
var co = this.firstSelectItem;
co = this.findCircleItemByPos(this.selectItems[this.selectItems.length - 1].point, p);
if (this.selectItems.length > 0) {
co = this.findCircleItemByPos(this.selectItems[this.selectItems.length - 1].point, p);
}
if (this.firstSelectItem) {
if (co && co.type == this.firstSelectItem.type) {
this.selectItems.push(co);
......@@ -15847,6 +15849,7 @@ var XxlScene = (function (_super) {
}
}
else {
co = this.findFirstCircleItemByPos(p);
if (co) {
this.g.clear();
this.g.beginStroke(0xffffff, 20);
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -1927,7 +1927,7 @@ var Main = (function () {
return [4, this.loadImageTexturesCsd02(resCanvasList)];
case 2:
_a.sent();
ctrls_1.changeScene(MainScene_2.OpenAni);
ctrls_1.changeScene(XxlScene_1.XxlScene);
return [2];
}
});
......@@ -15832,13 +15832,15 @@ var XxlScene = (function (_super) {
this.g.moveTo(co.point.x, co.point.y);
this.firstSelectItem = co;
this.selectItems.push(co);
this.addEventListener(FYGE.MouseEvent.MOUSE_MOVE, this.mouseMove, this);
}
this.addEventListener(FYGE.MouseEvent.MOUSE_MOVE, this.mouseMove, this);
};
XxlScene.prototype.mouseMove = function (e) {
var p = { x: e.localX - this.container.x, y: e.localY - this.container.y };
var co = this.firstSelectItem;
co = this.findCircleItemByPos(this.selectItems[this.selectItems.length - 1].point, p);
if (this.selectItems.length > 0) {
co = this.findCircleItemByPos(this.selectItems[this.selectItems.length - 1].point, p);
}
if (this.firstSelectItem) {
if (co && co.type == this.firstSelectItem.type) {
this.selectItems.push(co);
......@@ -15849,6 +15851,7 @@ var XxlScene = (function (_super) {
}
}
else {
co = this.findFirstCircleItemByPos(p);
if (co) {
this.g.clear();
this.g.beginStroke(0xffffff, 20);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment