@urso/core 0.7.16 → 0.7.18

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@urso/core",
3
- "version": "0.7.16",
3
+ "version": "0.7.18",
4
4
  "description": "HTML5 game engine",
5
5
  "main": "build/js/index.js",
6
6
  "author": "Megbrimef",
@@ -141,6 +141,7 @@ class ModulesObjectsModelsSpine extends Urso.Core.Modules.Objects.BaseModel {
141
141
  stopTrack(track) {
142
142
  this.clearTrack(track);
143
143
  this._baseObject.state.addEmptyAnimation(track, 0.2, 0); //int trackIndex, float mixDuration, float delay
144
+ this.setToSetupPose();
144
145
  }
145
146
 
146
147
  /**
@@ -31,6 +31,7 @@ class ModulesObjectsModelsText extends Urso.Core.Modules.Objects.BaseModel {
31
31
  this.wordWrap = Urso.helper.recursiveGet('wordWrap', params, false);
32
32
  this.wordWrapWidth = Urso.helper.recursiveGet('wordWrapWidth', params, 100);
33
33
  this.leading = Urso.helper.recursiveGet('leading', params, 0);
34
+ this.letterSpacing = Urso.helper.recursiveGet('letterSpacing', params, 0);
34
35
  this.textAlign = Urso.helper.recursiveGet('textAlign', params, 'left');
35
36
  }
36
37
 
@@ -281,6 +281,7 @@ class ModulesObjectsProxy {
281
281
  'wordWrap': 'style.wordWrap',
282
282
  'wordWrapWidth': 'style.wordWrapWidth',
283
283
  'leading ': 'style.leading',
284
+ 'letterSpacing ': 'style.letterSpacing',
284
285
  'textAlign ': 'style.align',
285
286
  'enabled': 'input.enabled',
286
287
  'cacheAsBitmap': 'cacheAsBitmap',