Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

oops

  • Loading branch information...
commit 75c2cc19c3ad1914198b673629c4749a465831fb 1 parent ba5b40f
@dyoo authored
View
1  src/org/wescheme/servlet/ImageProxy.java
@@ -1,6 +1,5 @@
package org.wescheme.servlet;
-import javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
View
4 war/js/mzscheme-vm/support.js
@@ -10604,8 +10604,8 @@ var ScaleImage = function(xFactor, yFactor, img) {
Math.floor((img.getHeight() * yFactor) / 2));
this.img = img;
- this.width = img.getWidth() * xFactor;
- this.height = img.getHeight() * yFactor;
+ this.width = Math.floor(img.getWidth() * xFactor);
+ this.height = Math.floor(img.getHeight() * yFactor);
this.xFactor = xFactor;
this.yFactor = yFactor;
};
Please sign in to comment.
Something went wrong with that request. Please try again.