@dcl/ecs 7.5.1-9236275282.commit-84ad0a4 → 7.5.1-9259591758.commit-96b8158

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.
@@ -19,6 +19,8 @@ export interface PBUiText {
19
19
  outlineWidth?: number | undefined;
20
20
  /** RGBA color of the outline (default: opaque black) */
21
21
  outlineColor?: Color4 | undefined;
22
+ /** wrap text when the border is reached (default false) */
23
+ textWrapping?: boolean | undefined;
22
24
  }
23
25
  /**
24
26
  * @public
@@ -11,6 +11,7 @@ function createBasePBUiText() {
11
11
  fontSize: undefined,
12
12
  outlineWidth: undefined,
13
13
  outlineColor: undefined,
14
+ textWrapping: undefined,
14
15
  };
15
16
  }
16
17
  /**
@@ -40,6 +41,9 @@ export var PBUiText;
40
41
  if (message.outlineColor !== undefined) {
41
42
  Color4.encode(message.outlineColor, writer.uint32(58).fork()).ldelim();
42
43
  }
44
+ if (message.textWrapping !== undefined) {
45
+ writer.uint32(64).bool(message.textWrapping);
46
+ }
43
47
  return writer;
44
48
  }
45
49
  PBUiText.encode = encode;
@@ -92,6 +96,12 @@ export var PBUiText;
92
96
  }
93
97
  message.outlineColor = Color4.decode(reader, reader.uint32());
94
98
  continue;
99
+ case 8:
100
+ if (tag !== 64) {
101
+ break;
102
+ }
103
+ message.textWrapping = reader.bool();
104
+ continue;
95
105
  }
96
106
  if ((tag & 7) === 4 || tag === 0) {
97
107
  break;
@@ -19,6 +19,8 @@ export interface PBUiText {
19
19
  outlineWidth?: number | undefined;
20
20
  /** RGBA color of the outline (default: opaque black) */
21
21
  outlineColor?: Color4 | undefined;
22
+ /** wrap text when the border is reached (default false) */
23
+ textWrapping?: boolean | undefined;
22
24
  }
23
25
  /**
24
26
  * @public
@@ -17,6 +17,7 @@ function createBasePBUiText() {
17
17
  fontSize: undefined,
18
18
  outlineWidth: undefined,
19
19
  outlineColor: undefined,
20
+ textWrapping: undefined,
20
21
  };
21
22
  }
22
23
  /**
@@ -46,6 +47,9 @@ var PBUiText;
46
47
  if (message.outlineColor !== undefined) {
47
48
  colors_gen_1.Color4.encode(message.outlineColor, writer.uint32(58).fork()).ldelim();
48
49
  }
50
+ if (message.textWrapping !== undefined) {
51
+ writer.uint32(64).bool(message.textWrapping);
52
+ }
49
53
  return writer;
50
54
  }
51
55
  PBUiText.encode = encode;
@@ -98,6 +102,12 @@ var PBUiText;
98
102
  }
99
103
  message.outlineColor = colors_gen_1.Color4.decode(reader, reader.uint32());
100
104
  continue;
105
+ case 8:
106
+ if (tag !== 64) {
107
+ break;
108
+ }
109
+ message.textWrapping = reader.bool();
110
+ continue;
101
111
  }
102
112
  if ((tag & 7) === 4 || tag === 0) {
103
113
  break;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dcl/ecs",
3
3
  "description": "Decentraland ECS",
4
- "version": "7.5.1-9236275282.commit-84ad0a4",
4
+ "version": "7.5.1-9259591758.commit-96b8158",
5
5
  "author": "DCL",
6
6
  "bugs": "https://github.com/decentraland/ecs/issues",
7
7
  "files": [
@@ -33,5 +33,5 @@
33
33
  },
34
34
  "types": "./dist/index.d.ts",
35
35
  "typings": "./dist/index.d.ts",
36
- "commit": "84ad0a4b316161c92eff19642926cfcf45a99e2d"
36
+ "commit": "96b815841e90d2b5815133c2d1c0c3095a612b30"
37
37
  }