Browse Source

fixed a weird bug.

- somehow using width and height of 400 causes misalignment.

Signed-off-by: root <root@ipekatrinadei.ipe.kit.edu>
root 6 years ago
parent
commit
20c50c4f7e
1 changed files with 6 additions and 6 deletions
  1. 6 6
      static/fossil/js/script.js

+ 6 - 6
static/fossil/js/script.js

@@ -264,8 +264,8 @@ $(function() {
         scrollZoom: true,
         zoomLevel: 0.1,
         minZoomLevel: 0.1,
-        zoomWindowWidth: 400,
-        zoomWindowHeight: 400
+        zoomWindowWidth: 300,
+        zoomWindowHeight: 300
     });
  
     $("#placeholder-left").ezPlus({
@@ -273,8 +273,8 @@ $(function() {
         scrollZoom: true,
         zoomLevel: 0.1,
         minZoomLevel: 0.1,
-        zoomWindowWidth: 400,
-        zoomWindowHeight: 400
+        zoomWindowWidth: 300,
+        zoomWindowHeight: 300
     });
 
     $("#img-front").ezPlus({
@@ -282,7 +282,7 @@ $(function() {
         scrollZoom: true,
         zoomLevel: 0.1,
         minZoomLevel: 0.1,
-        zoomWindowWidth: 400,
-        zoomWindowHeight: 400
+        zoomWindowWidth: 300,
+        zoomWindowHeight: 300
     });
 });