tentone 6 年之前
父節點
當前提交
cb11d8fe61
共有 3 個文件被更改,包括 3 次插入5 次删除
  1. 1 1
      build/escher.js
  2. 1 1
      build/escher.module.js
  3. 1 3
      source/Viewport.js

+ 1 - 1
build/escher.js

@@ -1664,7 +1664,7 @@
 				var s = Math.sin(this.rotation);
 				this.matrix.multiply(new Matrix([c, s, -s, c, 0, 0]));
 			}
-
+			
 			if(this.scale !== 1)
 			{
 				this.matrix.scale(this.scale, this.scale);

+ 1 - 1
build/escher.module.js

@@ -1658,7 +1658,7 @@ Viewport.prototype.updateMatrix = function()
 			var s = Math.sin(this.rotation);
 			this.matrix.multiply(new Matrix([c, s, -s, c, 0, 0]));
 		}
-
+		
 		if(this.scale !== 1)
 		{
 			this.matrix.scale(this.scale, this.scale);

+ 1 - 3
source/Viewport.js

@@ -85,9 +85,7 @@ Viewport.prototype.updateMatrix = function()
 			var s = Math.sin(this.rotation);
 			this.matrix.multiply(new Matrix([c, s, -s, c, 0, 0]));
 		}
-
-		//this.matrix.multiply(new Matrix([c, s, -s, c, 0, 0]));
-
+		
 		if(this.scale !== 1)
 		{
 			this.matrix.scale(this.scale, this.scale);