David Catuhe 9 năm trước cách đây
mục cha
commit
0b23bfbf2c

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 3843 - 3843
dist/preview release/babylon.d.ts


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 1 - 1
dist/preview release/babylon.js


+ 1 - 1
dist/preview release/babylon.max.js

@@ -45354,7 +45354,7 @@ var BABYLON;
                 var res = new BABYLON.Vector2(v.x, v.y);
                 var size = _this.actualSize;
                 res.x += size.width * 0.5; // res is centered, make it relative to bottom/left
-                res.y += size.width * 0.5;
+                res.y += size.height * 0.5;
                 return res;
             };
             /**

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 1 - 1
dist/preview release/babylon.noworker.js


+ 1 - 1
src/Canvas2d/babylon.canvas2d.js

@@ -49,7 +49,7 @@ var BABYLON;
                 var res = new BABYLON.Vector2(v.x, v.y);
                 var size = _this.actualSize;
                 res.x += size.width * 0.5; // res is centered, make it relative to bottom/left
-                res.y += size.width * 0.5;
+                res.y += size.height * 0.5;
                 return res;
             };
             /**