Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOProUnity_V2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
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
MyCard
YGOProUnity_V2
Commits
df988ee2
Commit
df988ee2
authored
May 25, 2017
by
lllyasviel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
df3e0620
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
Assets/SibylSystem/CardDescription/CardDescription.cs
Assets/SibylSystem/CardDescription/CardDescription.cs
+3
-1
No files found.
Assets/SibylSystem/CardDescription/CardDescription.cs
View file @
df988ee2
...
@@ -307,6 +307,7 @@ public class CardDescription : Servant
...
@@ -307,6 +307,7 @@ public class CardDescription : Servant
int
currentLabelIndex
=
0
;
int
currentLabelIndex
=
0
;
int
currentCardIndex
=
0
;
int
currentCardIndex
=
0
;
int
eachLine
=
0
;
int
eachLine
=
0
;
float
monitorHeight
=
0
;
void
handleMonitorArea
(
List
<
gameCard
>
list
,
string
hint
)
void
handleMonitorArea
(
List
<
gameCard
>
list
,
string
hint
)
{
{
...
@@ -343,8 +344,9 @@ public class CardDescription : Servant
...
@@ -343,8 +344,9 @@ public class CardDescription : Servant
if
(
monitor
.
gameObject
.
activeInHierarchy
)
if
(
monitor
.
gameObject
.
activeInHierarchy
)
{
{
int
newEach
=
(
int
)((
monitor
.
width
-
12f
)
/
44f
);
int
newEach
=
(
int
)((
monitor
.
width
-
12f
)
/
44f
);
if
(
newEach
!=
eachLine
)
if
(
newEach
!=
eachLine
||
monitorHeight
!=
monitor
.
height
)
{
{
monitorHeight
=
monitor
.
height
;
eachLine
=
newEach
;
eachLine
=
newEach
;
realizeMonitor
();
realizeMonitor
();
}
}
...
...
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