Исправил ошибку
This commit is contained in:
parent
8b768049a0
commit
523fbaee82
8
.idea/.gitignore
vendored
Normal file
8
.idea/.gitignore
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
@ -50,7 +50,7 @@ public class DrawningMonorail {
|
||||
return;
|
||||
_startPosX = x;
|
||||
_startPosY = y;
|
||||
if(x + _monorailHeight <= _pictureHeight || y + _monorailHeight <= _pictureHeight){
|
||||
if(x + _monorailWidth <= _pictureWidth|| y + _monorailHeight <= _pictureHeight){
|
||||
_startPosX = 0;
|
||||
_startPosY = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user