Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
east-10
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
east-10
Commits
719890d1
Commit
719890d1
authored
Jun 25, 2021
by
linzhiguo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
# 一个分组先放入文本选项再放入图片选项,图片缩放异常
parent
85514490
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
kind.js
play/assets/east-10/script/kind.js
+2
-1
No files found.
play/assets/east-10/script/kind.js
View file @
719890d1
...
@@ -112,8 +112,9 @@ cc.Class({
...
@@ -112,8 +112,9 @@ cc.Class({
ot
.
y
=
0
;
ot
.
y
=
0
;
let
item
=
ot
.
getComponent
(
cc
.
js
.
getClassByName
(
'
WordOption
'
));
let
item
=
ot
.
getComponent
(
cc
.
js
.
getClassByName
(
'
WordOption
'
));
this
.
show_node
.
addChild
(
ot
);
this
.
show_node
.
addChild
(
ot
);
item
.
adjustPicSize
();
this
.
show_node
.
active
=
true
;
this
.
show_node
.
active
=
true
;
item
.
adjustPicSize
();
this
.
playAnimation
(()
=>
{
this
.
playAnimation
(()
=>
{
this
.
show_node
.
removeAllChildren
();
this
.
show_node
.
removeAllChildren
();
let
node
=
cc
.
instantiate
(
cc
.
find
(
'
res/option_item
'
));
let
node
=
cc
.
instantiate
(
cc
.
find
(
'
res/option_item
'
));
...
...
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