Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOMobile-Cn-Ko-En
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fallenstardust
YGOMobile-Cn-Ko-En
Commits
42c749d8
Commit
42c749d8
authored
Oct 26, 2019
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
适配过长提示文字
parent
173c45ef
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Classes/gframe/client_field.cpp
Classes/gframe/client_field.cpp
+1
-1
Classes/gframe/game.cpp
Classes/gframe/game.cpp
+1
-1
No files found.
Classes/gframe/client_field.cpp
View file @
42c749d8
...
@@ -603,7 +603,7 @@ void ClientField::ShowSelectOption(int select_hint) {
...
@@ -603,7 +603,7 @@ void ClientField::ShowSelectOption(int select_hint) {
bool
quickmode
=
true
;
bool
quickmode
=
true
;
mainGame
->
gMutex
.
lock
();
mainGame
->
gMutex
.
lock
();
for
(
auto
option
:
select_options
)
{
for
(
auto
option
:
select_options
)
{
if
(
mainGame
->
guiFont
->
getDimension
(
dataManager
.
GetDesc
(
option
)).
Width
>
3
1
0
*
mainGame
->
xScale
)
{
if
(
mainGame
->
guiFont
->
getDimension
(
dataManager
.
GetDesc
(
option
)).
Width
>
3
7
0
*
mainGame
->
xScale
)
{
quickmode
=
false
;
quickmode
=
false
;
break
;
break
;
}
}
...
...
Classes/gframe/game.cpp
View file @
42c749d8
...
@@ -542,7 +542,7 @@ bool Game::Initialize() {
...
@@ -542,7 +542,7 @@ bool Game::Initialize() {
for
(
int
i
=
0
;
i
<
5
;
++
i
)
{
for
(
int
i
=
0
;
i
<
5
;
++
i
)
{
btnOption
[
i
]
=
env
->
addButton
(
rect
<
s32
>
(
10
*
xScale
,
(
30
+
60
*
i
)
*
yScale
,
380
*
xScale
,
(
80
+
60
*
i
)
*
yScale
),
wOptions
,
BUTTON_OPTION_0
+
i
,
L""
);
btnOption
[
i
]
=
env
->
addButton
(
rect
<
s32
>
(
10
*
xScale
,
(
30
+
60
*
i
)
*
yScale
,
380
*
xScale
,
(
80
+
60
*
i
)
*
yScale
),
wOptions
,
BUTTON_OPTION_0
+
i
,
L""
);
}
}
scrOption
=
env
->
addScrollBar
(
false
,
rect
<
s32
>
(
350
*
xScale
,
30
*
yScale
,
3
65
*
xScale
,
220
*
yScale
),
wOptions
,
SCROLL_OPTION_SELECT
);
scrOption
=
env
->
addScrollBar
(
false
,
rect
<
s32
>
(
350
*
xScale
,
30
*
yScale
,
3
80
*
xScale
,
220
*
yScale
),
wOptions
,
SCROLL_OPTION_SELECT
);
scrOption
->
setLargeStep
(
1
);
scrOption
->
setLargeStep
(
1
);
scrOption
->
setSmallStep
(
1
);
scrOption
->
setSmallStep
(
1
);
scrOption
->
setMin
(
0
);
scrOption
->
setMin
(
0
);
...
...
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