Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
DF-L220
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
DF-L220
Commits
1228ad51
Commit
1228ad51
authored
Mar 14, 2020
by
Chen Jiping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善
parent
7e4da02a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
play.component.ts
src/app/play/play.component.ts
+7
-4
No files found.
src/app/play/play.component.ts
View file @
1228ad51
...
...
@@ -1451,9 +1451,6 @@ export class PlayComponent implements OnInit, OnDestroy {
let
y
=
item
.
pic
.
y
;
item
.
pic
.
scaleY
=
0
;
item
.
pic
.
scaleX
=
0
;
for
(
let
i
=
0
;
i
<
this
.
ballon_temp_arr
.
length
;
++
i
){
let
answer
=
this
.
ballon_temp_arr
[
i
];
...
...
@@ -1467,6 +1464,9 @@ export class PlayComponent implements OnInit, OnDestroy {
break
;
}
item
.
pic
.
scaleY
=
0
;
item
.
pic
.
scaleX
=
0
;
item
.
pic
.
alpha
=
0
;
item
.
hit
=
true
;
...
...
@@ -1546,7 +1546,10 @@ export class PlayComponent implements OnInit, OnDestroy {
}
}
//坐标出去后不检查
if
(
y
<
0
){
return
;
}
if
(
!
item
.
hit
){
setTimeout
(()
=>
{
...
...
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