Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dfzx_mb_08
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
template admin
dfzx_mb_08
Commits
8ebccd0b
Commit
8ebccd0b
authored
Oct 27, 2020
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 不能玩的问题
parent
b0e4919a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
11 deletions
+5
-11
play.component.ts
src/app/play/play.component.ts
+5
-11
No files found.
src/app/play/play.component.ts
View file @
8ebccd0b
...
...
@@ -505,11 +505,9 @@ export class PlayComponent implements OnInit, OnDestroy {
this
.
playAudio
(
'
tip
'
,
true
);
setTimeout
(()
=>
{
if
(
shape
.
audio
)
{
shape
.
audio
.
play
();
}
},
500
);
if
(
shape
.
audio
)
{
shape
.
audio
.
play
();
}
shape
.
end
=
true
;
...
...
@@ -815,10 +813,6 @@ export class PlayComponent implements OnInit, OnDestroy {
this
.
showOneLight
(
rect
);
// setTimeout(() => {
// this.hideLight();
// }, 2000);
const
r
=
rect
.
getBoundingBox
();
const
pos
=
{
x
:
r
.
x
+
r
.
width
/
2
,
y
:
r
.
y
+
r
.
height
/
2
};
showPopParticle
(
this
.
images
.
get
(
'
star
'
),
pos
,
this
.
bgLayer
,
30
,
...
...
@@ -892,9 +886,9 @@ export class PlayComponent implements OnInit, OnDestroy {
hideItem
(
light
,
0.5
,
()
=>
{
light
.
visible
=
false
;
setTimeout
(()
=>
{
//
setTimeout(() => {
this
.
showRandomLight
();
},
200
);
//
}, 200);
});
return
;
...
...
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