Forráskód Böngészése

Fixed get image part

Ivan Safrin 11 éve
szülő
commit
edc12c482c
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      Core/Contents/Source/PolyImage.cpp

+ 1 - 1
Core/Contents/Source/PolyImage.cpp

@@ -777,5 +777,5 @@ void Image::transformCoordinates(int *x, int *y) {
 }
 
 void Image::transformCoordinates(int *x, int *y, int *w, int *h) {
-	*y = this->height - *h - *y - 1;
+	*y = this->height - *h - *y;
 }