Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
new_taobao
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wildfirecode13
new_taobao
Commits
abeb9828
Commit
abeb9828
authored
Oct 03, 2020
by
spc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modified: src/xiaoxiaole/XxlScene.ts
parent
bf04431c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Main.ts
project/src/canvas/game/src/Main.ts
+2
-2
XxlScene.ts
project/src/canvas/game/src/xiaoxiaole/XxlScene.ts
+1
-1
No files found.
project/src/canvas/game/src/Main.ts
View file @
abeb9828
...
...
@@ -160,9 +160,9 @@ export class Main {
await
this
.
loadImageTexturesCsd01
(
resCanvasList
)
await
this
.
loadImageTexturesCsd02
(
resCanvasList
)
changeScene
(
OpenAni
)
//
changeScene(OpenAni)
// changeScene(CsdScene)
//
changeScene(XxlScene)
changeScene
(
XxlScene
)
})
await
InitLottie
.
initLottieList
(
resLottieList
);
...
...
project/src/canvas/game/src/xiaoxiaole/XxlScene.ts
View file @
abeb9828
...
...
@@ -953,7 +953,7 @@ export class XxlScene extends Scene {
findCircleItemByPos
(
p0
:
point
,
p1
:
point
):
CircleItem
{
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))
if
(
this
.
selectItems
.
indexOf
(
co
)
==
-
1
)
{
return
co
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment