Commit 8e47d3f0 authored by spc's avatar spc

modified: output.js.map

parent 4e40fc96
...@@ -15836,9 +15836,7 @@ var XxlScene = (function (_super) { ...@@ -15836,9 +15836,7 @@ var XxlScene = (function (_super) {
XxlScene.prototype.mouseMove = function (e) { XxlScene.prototype.mouseMove = function (e) {
var p = { x: e.localX - this.container.x, y: e.localY - this.container.y }; var p = { x: e.localX - this.container.x, y: e.localY - this.container.y };
var co = this.firstSelectItem; var co = this.firstSelectItem;
if (this.selectItems.length > 0) {
co = this.findCircleItemByPos(this.selectItems[this.selectItems.length - 1].point, p); co = this.findCircleItemByPos(this.selectItems[this.selectItems.length - 1].point, p);
}
if (this.firstSelectItem) { if (this.firstSelectItem) {
if (co && co.type == this.firstSelectItem.type) { if (co && co.type == this.firstSelectItem.type) {
this.selectItems.push(co); this.selectItems.push(co);
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -15838,9 +15838,7 @@ var XxlScene = (function (_super) { ...@@ -15838,9 +15838,7 @@ var XxlScene = (function (_super) {
XxlScene.prototype.mouseMove = function (e) { XxlScene.prototype.mouseMove = function (e) {
var p = { x: e.localX - this.container.x, y: e.localY - this.container.y }; var p = { x: e.localX - this.container.x, y: e.localY - this.container.y };
var co = this.firstSelectItem; var co = this.firstSelectItem;
if (this.selectItems.length > 0) {
co = this.findCircleItemByPos(this.selectItems[this.selectItems.length - 1].point, p); co = this.findCircleItemByPos(this.selectItems[this.selectItems.length - 1].point, p);
}
if (this.firstSelectItem) { if (this.firstSelectItem) {
if (co && co.type == this.firstSelectItem.type) { if (co && co.type == this.firstSelectItem.type) {
this.selectItems.push(co); this.selectItems.push(co);
......
...@@ -157,9 +157,9 @@ export class Main { ...@@ -157,9 +157,9 @@ export class Main {
await this.loadImageTexturesCsd01(resCanvasList) await this.loadImageTexturesCsd01(resCanvasList)
await this.loadImageTexturesCsd02(resCanvasList) await this.loadImageTexturesCsd02(resCanvasList)
changeScene(OpenAni) // changeScene(OpenAni)
// changeScene(CsdScene) // changeScene(CsdScene)
// changeScene(XxlScene) changeScene(XxlScene)
}) })
await InitLottie.initLottieList(resLottieList); await InitLottie.initLottieList(resLottieList);
......
...@@ -749,8 +749,9 @@ export class XxlScene extends Scene { ...@@ -749,8 +749,9 @@ export class XxlScene extends Scene {
this.firstSelectItem = co this.firstSelectItem = co
this.selectItems.push(co) this.selectItems.push(co)
this.addEventListener(FYGE.MouseEvent.MOUSE_MOVE, this.mouseMove, this);
} }
this.addEventListener(FYGE.MouseEvent.MOUSE_MOVE, this.mouseMove, this);
} }
...@@ -762,7 +763,6 @@ export class XxlScene extends Scene { ...@@ -762,7 +763,6 @@ export class XxlScene extends Scene {
} }
if (this.firstSelectItem) { if (this.firstSelectItem) {
if (co && co.type == this.firstSelectItem.type) { if (co && co.type == this.firstSelectItem.type) {
...@@ -776,6 +776,7 @@ export class XxlScene extends Scene { ...@@ -776,6 +776,7 @@ export class XxlScene extends Scene {
} }
} else { } else {
co = this.findFirstCircleItemByPos(p)
if (co) { if (co) {
//画线 //画线
this.g.clear() this.g.clear()
......
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