mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 04:18:43 +00:00
Fixed changing ScreenHeight
This commit is contained in:
parent
f97c907f3e
commit
9683bac713
1 changed files with 2 additions and 2 deletions
|
|
@ -96,9 +96,9 @@ namespace Cosmos.System
|
|||
{
|
||||
mScreenHeight = value;
|
||||
|
||||
if (X >= mScreenHeight)
|
||||
if (Y >= mScreenHeight)
|
||||
{
|
||||
X = mScreenHeight - 1;
|
||||
Y = mScreenHeight - 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue