ttpg-darrell 1.0.12 → 1.0.13
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.
|
@@ -218,7 +218,7 @@ class LayoutObjects {
|
|
|
218
218
|
const size = this.calculateSize();
|
|
219
219
|
const center = peer
|
|
220
220
|
.getPosition()
|
|
221
|
-
.subtract([(peerSize.w + size.w) / 2 + gap, 0
|
|
221
|
+
.subtract([0, (peerSize.w + size.w) / 2 + gap, 0]);
|
|
222
222
|
this.doLayoutAtPoint(center, 0);
|
|
223
223
|
return this;
|
|
224
224
|
}
|
|
@@ -227,7 +227,7 @@ class LayoutObjects {
|
|
|
227
227
|
const size = this.calculateSize();
|
|
228
228
|
const center = peer
|
|
229
229
|
.getPosition()
|
|
230
|
-
.add([(peerSize.w + size.w) / 2 + gap, 0
|
|
230
|
+
.add([0, (peerSize.w + size.w) / 2 + gap, 0]);
|
|
231
231
|
this.doLayoutAtPoint(center, 0);
|
|
232
232
|
return this;
|
|
233
233
|
}
|
|
@@ -236,7 +236,7 @@ class LayoutObjects {
|
|
|
236
236
|
const size = this.calculateSize();
|
|
237
237
|
const center = peer
|
|
238
238
|
.getPosition()
|
|
239
|
-
.add([
|
|
239
|
+
.add([(peerSize.h + size.h) / 2 + gap, 0, 0]);
|
|
240
240
|
this.doLayoutAtPoint(center, 0);
|
|
241
241
|
return this;
|
|
242
242
|
}
|
|
@@ -245,7 +245,7 @@ class LayoutObjects {
|
|
|
245
245
|
const size = this.calculateSize();
|
|
246
246
|
const center = peer
|
|
247
247
|
.getPosition()
|
|
248
|
-
.subtract([
|
|
248
|
+
.subtract([(peerSize.h + size.h) / 2 + gap, 0, 0]);
|
|
249
249
|
this.doLayoutAtPoint(center, 0);
|
|
250
250
|
return this;
|
|
251
251
|
}
|
|
@@ -215,7 +215,7 @@ export class LayoutObjects {
|
|
|
215
215
|
const size = this.calculateSize();
|
|
216
216
|
const center = peer
|
|
217
217
|
.getPosition()
|
|
218
|
-
.subtract([(peerSize.w + size.w) / 2 + gap, 0
|
|
218
|
+
.subtract([0, (peerSize.w + size.w) / 2 + gap, 0]);
|
|
219
219
|
this.doLayoutAtPoint(center, 0);
|
|
220
220
|
return this;
|
|
221
221
|
}
|
|
@@ -224,7 +224,7 @@ export class LayoutObjects {
|
|
|
224
224
|
const size = this.calculateSize();
|
|
225
225
|
const center = peer
|
|
226
226
|
.getPosition()
|
|
227
|
-
.add([(peerSize.w + size.w) / 2 + gap, 0
|
|
227
|
+
.add([0, (peerSize.w + size.w) / 2 + gap, 0]);
|
|
228
228
|
this.doLayoutAtPoint(center, 0);
|
|
229
229
|
return this;
|
|
230
230
|
}
|
|
@@ -233,7 +233,7 @@ export class LayoutObjects {
|
|
|
233
233
|
const size = this.calculateSize();
|
|
234
234
|
const center = peer
|
|
235
235
|
.getPosition()
|
|
236
|
-
.add([
|
|
236
|
+
.add([(peerSize.h + size.h) / 2 + gap, 0, 0]);
|
|
237
237
|
this.doLayoutAtPoint(center, 0);
|
|
238
238
|
return this;
|
|
239
239
|
}
|
|
@@ -242,7 +242,7 @@ export class LayoutObjects {
|
|
|
242
242
|
const size = this.calculateSize();
|
|
243
243
|
const center = peer
|
|
244
244
|
.getPosition()
|
|
245
|
-
.subtract([
|
|
245
|
+
.subtract([(peerSize.h + size.h) / 2 + gap, 0, 0]);
|
|
246
246
|
this.doLayoutAtPoint(center, 0);
|
|
247
247
|
return this;
|
|
248
248
|
}
|