@effindomv2/fui-as 0.1.18 → 0.1.20

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": "@effindomv2/fui-as",
3
- "version": "0.1.18",
3
+ "version": "0.1.20",
4
4
  "private": false,
5
5
  "license": "AGPL-3.0-only OR LicenseRef-EffinDom-Commercial",
6
6
  "description": "EffinDom v2 AssemblyScript frontend framework SDK and browser harness",
@@ -78,7 +78,7 @@
78
78
  },
79
79
  "dependencies": {
80
80
  "@assemblyscript/loader": "^0.28.17",
81
- "@effindomv2/runtime": "0.1.6"
81
+ "@effindomv2/runtime": "0.1.7"
82
82
  },
83
83
  "devDependencies": {
84
84
  "@as-pect/assembly": "8.1.0",
@@ -25,11 +25,11 @@ export class Image extends FlexBox {
25
25
  private insetRight: f32 = 0.0;
26
26
  private insetBottom: f32 = 0.0;
27
27
  private requestedWidthValue: f32 = 0.0;
28
- private requestedWidthUnit: Unit = Unit.Pixel;
29
- private hasRequestedWidth: bool = false;
28
+ private requestedWidthUnit: Unit = Unit.Auto;
29
+ private hasRequestedWidth: bool = true;
30
30
  private requestedHeightValue: f32 = 0.0;
31
- private requestedHeightUnit: Unit = Unit.Pixel;
32
- private hasRequestedHeight: bool = false;
31
+ private requestedHeightUnit: Unit = Unit.Auto;
32
+ private hasRequestedHeight: bool = true;
33
33
  private assetStateAction: Action<AssetLoadState> | null = null;
34
34
  private trackedTextureAssetId: u32 = 0;
35
35
 
package/src/nodes/Svg.ts CHANGED
@@ -20,11 +20,11 @@ export class Svg extends FlexBox {
20
20
  private tintColorValue: u32 = 0;
21
21
  private ownedSvgAssetId: u32 = 0;
22
22
  private requestedWidthValue: f32 = 0.0;
23
- private requestedWidthUnit: Unit = Unit.Pixel;
24
- private hasRequestedWidth: bool = false;
23
+ private requestedWidthUnit: Unit = Unit.Auto;
24
+ private hasRequestedWidth: bool = true;
25
25
  private requestedHeightValue: f32 = 0.0;
26
- private requestedHeightUnit: Unit = Unit.Pixel;
27
- private hasRequestedHeight: bool = false;
26
+ private requestedHeightUnit: Unit = Unit.Auto;
27
+ private hasRequestedHeight: bool = true;
28
28
  private assetStateAction: Action<AssetLoadState> | null = null;
29
29
  private trackedSvgAssetId: u32 = 0;
30
30