Fix y-axis calc when overlaying at fixed point #566

This commit is contained in:
Lovell Fuller
2016-09-16 11:20:08 +01:00
parent 86039a3f2b
commit 28ce33feb3
4 changed files with 26 additions and 2 deletions

View File

@@ -391,7 +391,7 @@ namespace sharp {
if(y >= 0 && y < (inHeight - outHeight)) {
top = y;
} else if(x >= (inHeight - outHeight)) {
} else if(y >= (inHeight - outHeight)) {
top = inHeight - outHeight;
}