Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
DG_FAF
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
DG_FAF
Commits
56e85259
Commit
56e85259
authored
May 24, 2023
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复双排选项窗口过高的问题
parent
1dee227d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
SelectModal_DG_FAF.ts
assets/DG_FAF/prefabs/SelectModal/SelectModal_DG_FAF.ts
+4
-4
defaultData_DG_FAF.ts
assets/DG_FAF/script/defaultData_DG_FAF.ts
+1
-1
No files found.
assets/DG_FAF/prefabs/SelectModal/SelectModal_DG_FAF.ts
View file @
56e85259
...
...
@@ -121,10 +121,10 @@ export default class NewClass extends cc.Component {
optionNode
.
active
=
true
;
listLayout
.
addChild
(
optionNode
);
});
center
.
height
=
op
tion
.
length
*
this
.
optionHeight
+
this
.
headerHeight
;
list
.
height
=
op
tion
.
length
*
this
.
optionHeight
;
listLayout
.
height
=
op
tion
.
length
*
this
.
optionHeight
;
const
opLen
=
col2
?
Math
.
ceil
(
option
.
length
/
2
)
:
option
.
length
center
.
height
=
op
Len
*
this
.
optionHeight
+
this
.
headerHeight
;
list
.
height
=
op
Len
*
this
.
optionHeight
;
listLayout
.
height
=
op
Len
*
this
.
optionHeight
;
}
else
{
const
rightWrongLayout
=
cc
.
find
(
"
center/list/layout_right_wrong
"
,
this
.
node
);
const
rightIcon
=
cc
.
find
(
"
right/icon_right
"
,
rightWrongLayout
);
...
...
assets/DG_FAF/script/defaultData_DG_FAF.ts
View file @
56e85259
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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