tentone 6 лет назад
Родитель
Сommit
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);