Commit abeb9828 authored by spc's avatar spc

modified: src/xiaoxiaole/XxlScene.ts

parent bf04431c
...@@ -160,9 +160,9 @@ export class Main { ...@@ -160,9 +160,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);
......
...@@ -953,7 +953,7 @@ export class XxlScene extends Scene { ...@@ -953,7 +953,7 @@ export class XxlScene extends Scene {
findCircleItemByPos(p0: point, p1: point): CircleItem { findCircleItemByPos(p0: point, p1: point): CircleItem {
for (let co of this.circleItems) { for (let co of this.circleItems) {
if (this.getDistance(co.point, p0) < this.radius * 1.5 && this.getDistance(p1, co.point) < this.radius / 3) { if (this.getDistance(co.point, p0) < this.radius * 1.5 && this.getDistance(p1, co.point) < this.radius / 3 + 5) {
// console.log(co, this.selectItems.indexOf(co)) // console.log(co, this.selectItems.indexOf(co))
if (this.selectItems.indexOf(co) == -1) { if (this.selectItems.indexOf(co) == -1) {
return co return co
......
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