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
8e47d3f0
Commit
8e47d3f0
authored
Oct 02, 2020
by
spc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modified: output.js.map
parent
4e40fc96
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
11 deletions
+8
-11
output.js
project/src/canvas/game/output.js
+1
-3
output.js.map
project/src/canvas/game/output.js.map
+1
-1
output.js
project/src/canvas/game/released/output.js
+1
-3
Main.ts
project/src/canvas/game/src/Main.ts
+2
-2
XxlScene.ts
project/src/canvas/game/src/xiaoxiaole/XxlScene.ts
+3
-2
No files found.
project/src/canvas/game/output.js
View file @
8e47d3f0
...
@@ -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
);
...
...
project/src/canvas/game/output.js.map
View file @
8e47d3f0
This diff is collapsed.
Click to expand it.
project/src/canvas/game/released/output.js
View file @
8e47d3f0
...
@@ -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
);
...
...
project/src/canvas/game/src/Main.ts
View file @
8e47d3f0
...
@@ -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
);
...
...
project/src/canvas/game/src/xiaoxiaole/XxlScene.ts
View file @
8e47d3f0
...
@@ -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
()
...
...
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