| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -408,8 +408,8 @@ protected void imageImpl(PImage image, | |||
| 408 | 408 | translate(x1, y1); | |
| 409 | 409 | int imageWidth = image.width; | |
| 410 | 410 | int imageHeight = image.height; | |
| 411 | - scale((x2 - x1) / (float)imageWidth, | ||
| 412 | - (y2 - y1) / (float)imageHeight); | ||
| 411 | + scale((x2 - x1) / imageWidth, | ||
| 412 | + (y2 - y1) / imageHeight); | ||
| 413 | 413 | if (u2-u1 == imageWidth && v2-v1 == imageHeight) { | |
| 414 | 414 | g2.drawImage((Image) image.getNative(), 0, 0, null); | |
| 415 | 415 | } else { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments