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
a4a52620
Commit
a4a52620
authored
Oct 02, 2020
by
spc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modified: output.js.map
parent
8e47d3f0
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
7 deletions
+13
-7
output.js
project/src/canvas/game/output.js
+6
-3
output.js.map
project/src/canvas/game/output.js.map
+1
-1
output.js
project/src/canvas/game/released/output.js
+6
-3
No files found.
project/src/canvas/game/output.js
View file @
a4a52620
...
@@ -1925,7 +1925,7 @@ var Main = (function () {
...
@@ -1925,7 +1925,7 @@ var Main = (function () {
return
[
4
,
this
.
loadImageTexturesCsd02
(
resCanvasList
)];
return
[
4
,
this
.
loadImageTexturesCsd02
(
resCanvasList
)];
case
2
:
case
2
:
_a
.
sent
();
_a
.
sent
();
ctrls_1
.
changeScene
(
MainScene_2
.
OpenAni
);
ctrls_1
.
changeScene
(
XxlScene_1
.
XxlScene
);
return
[
2
];
return
[
2
];
}
}
});
});
...
@@ -15830,13 +15830,15 @@ var XxlScene = (function (_super) {
...
@@ -15830,13 +15830,15 @@ var XxlScene = (function (_super) {
this
.
g
.
moveTo
(
co
.
point
.
x
,
co
.
point
.
y
);
this
.
g
.
moveTo
(
co
.
point
.
x
,
co
.
point
.
y
);
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
);
};
};
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
;
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
(
this
.
firstSelectItem
)
{
if
(
co
&&
co
.
type
==
this
.
firstSelectItem
.
type
)
{
if
(
co
&&
co
.
type
==
this
.
firstSelectItem
.
type
)
{
this
.
selectItems
.
push
(
co
);
this
.
selectItems
.
push
(
co
);
...
@@ -15847,6 +15849,7 @@ var XxlScene = (function (_super) {
...
@@ -15847,6 +15849,7 @@ var XxlScene = (function (_super) {
}
}
}
}
else
{
else
{
co
=
this
.
findFirstCircleItemByPos
(
p
);
if
(
co
)
{
if
(
co
)
{
this
.
g
.
clear
();
this
.
g
.
clear
();
this
.
g
.
beginStroke
(
0xffffff
,
20
);
this
.
g
.
beginStroke
(
0xffffff
,
20
);
...
...
project/src/canvas/game/output.js.map
View file @
a4a52620
This diff is collapsed.
Click to expand it.
project/src/canvas/game/released/output.js
View file @
a4a52620
...
@@ -1927,7 +1927,7 @@ var Main = (function () {
...
@@ -1927,7 +1927,7 @@ var Main = (function () {
return
[
4
,
this
.
loadImageTexturesCsd02
(
resCanvasList
)];
return
[
4
,
this
.
loadImageTexturesCsd02
(
resCanvasList
)];
case
2
:
case
2
:
_a
.
sent
();
_a
.
sent
();
ctrls_1
.
changeScene
(
MainScene_2
.
OpenAni
);
ctrls_1
.
changeScene
(
XxlScene_1
.
XxlScene
);
return
[
2
];
return
[
2
];
}
}
});
});
...
@@ -15832,13 +15832,15 @@ var XxlScene = (function (_super) {
...
@@ -15832,13 +15832,15 @@ var XxlScene = (function (_super) {
this
.
g
.
moveTo
(
co
.
point
.
x
,
co
.
point
.
y
);
this
.
g
.
moveTo
(
co
.
point
.
x
,
co
.
point
.
y
);
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
);
};
};
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
;
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
(
this
.
firstSelectItem
)
{
if
(
co
&&
co
.
type
==
this
.
firstSelectItem
.
type
)
{
if
(
co
&&
co
.
type
==
this
.
firstSelectItem
.
type
)
{
this
.
selectItems
.
push
(
co
);
this
.
selectItems
.
push
(
co
);
...
@@ -15849,6 +15851,7 @@ var XxlScene = (function (_super) {
...
@@ -15849,6 +15851,7 @@ var XxlScene = (function (_super) {
}
}
}
}
else
{
else
{
co
=
this
.
findFirstCircleItemByPos
(
p
);
if
(
co
)
{
if
(
co
)
{
this
.
g
.
clear
();
this
.
g
.
clear
();
this
.
g
.
beginStroke
(
0xffffff
,
20
);
this
.
g
.
beginStroke
(
0xffffff
,
20
);
...
...
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