melonjs 10.6.0 → 10.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/melonjs.js +9 -9
- package/dist/melonjs.min.js +2 -2
- package/dist/melonjs.module.js +9 -9
- package/package.json +1 -1
- package/src/text/bitmaptext.js +5 -5
package/dist/melonjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* melonJS Game Engine - v10.6.
|
|
2
|
+
* melonJS Game Engine - v10.6.1
|
|
3
3
|
* http://www.melonjs.org
|
|
4
4
|
* melonjs is licensed under the MIT License.
|
|
5
5
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -31991,10 +31991,10 @@
|
|
|
31991
31991
|
* this can be overridden by the plugin
|
|
31992
31992
|
* @public
|
|
31993
31993
|
* @type {string}
|
|
31994
|
-
* @default "10.6.
|
|
31994
|
+
* @default "10.6.1"
|
|
31995
31995
|
* @name plugin.Base#version
|
|
31996
31996
|
*/
|
|
31997
|
-
this.version = "10.6.
|
|
31997
|
+
this.version = "10.6.1";
|
|
31998
31998
|
};
|
|
31999
31999
|
|
|
32000
32000
|
/**
|
|
@@ -33699,11 +33699,6 @@
|
|
|
33699
33699
|
this.floating = !!settings.floating;
|
|
33700
33700
|
}
|
|
33701
33701
|
|
|
33702
|
-
// resize if necessary
|
|
33703
|
-
if (typeof settings.size === "number" && settings.size !== 1.0) {
|
|
33704
|
-
this.resize(settings.size);
|
|
33705
|
-
}
|
|
33706
|
-
|
|
33707
33702
|
// apply given fillstyle
|
|
33708
33703
|
if (typeof settings.fillStyle !== "undefined") {
|
|
33709
33704
|
if (settings.fillStyle instanceof Color) {
|
|
@@ -33724,6 +33719,11 @@
|
|
|
33724
33719
|
// instance to text metrics functions
|
|
33725
33720
|
this.metrics = new TextMetrics(this);
|
|
33726
33721
|
|
|
33722
|
+
// resize if necessary
|
|
33723
|
+
if (typeof settings.size === "number" && settings.size !== 1.0) {
|
|
33724
|
+
this.resize(settings.size);
|
|
33725
|
+
}
|
|
33726
|
+
|
|
33727
33727
|
// set the text
|
|
33728
33728
|
this.setText(settings.text);
|
|
33729
33729
|
}
|
|
@@ -36501,7 +36501,7 @@
|
|
|
36501
36501
|
* @name version
|
|
36502
36502
|
* @type {string}
|
|
36503
36503
|
*/
|
|
36504
|
-
var version = "10.6.
|
|
36504
|
+
var version = "10.6.1";
|
|
36505
36505
|
|
|
36506
36506
|
|
|
36507
36507
|
/**
|