@latest-thinking/lt-player 1.0.7-g → 1.0.7-h
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
|
@@ -212,34 +212,37 @@ export class ResizeService {
|
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
214
|
|
|
215
|
-
if (containerWidth >= 380) {
|
|
215
|
+
// if (containerWidth >= 380) {
|
|
216
|
+
//
|
|
217
|
+
// if (this.addInfoInSide && (containerWidth + 70 <= 380)) {
|
|
218
|
+
// return;
|
|
219
|
+
// }
|
|
220
|
+
//
|
|
221
|
+
// if (this.addInfoOutSide) {
|
|
222
|
+
// return;
|
|
223
|
+
// }
|
|
224
|
+
//
|
|
225
|
+
// this.addInfoOutSide = true;
|
|
226
|
+
// this.addInfoInSide = false;
|
|
227
|
+
//
|
|
228
|
+
// createAddInfoButtonsOutSide();
|
|
229
|
+
// } else {
|
|
230
|
+
//
|
|
231
|
+
// if (this.addInfoOutSide && (containerWidth + 70 >= 380)) {
|
|
232
|
+
// return;
|
|
233
|
+
// }
|
|
234
|
+
//
|
|
235
|
+
// if (this.addInfoInSide) {
|
|
236
|
+
// return;
|
|
237
|
+
// }
|
|
238
|
+
//
|
|
239
|
+
// this.addInfoInSide = true;
|
|
240
|
+
// this.addInfoOutSide = false;
|
|
241
|
+
// createAddInfoButtonsInSide();
|
|
242
|
+
// }
|
|
243
|
+
|
|
244
|
+
createAddInfoButtonsInSide();
|
|
216
245
|
|
|
217
|
-
if (this.addInfoInSide && (containerWidth + 70 <= 380)) {
|
|
218
|
-
return;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
if (this.addInfoOutSide) {
|
|
222
|
-
return;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
this.addInfoOutSide = true;
|
|
226
|
-
this.addInfoInSide = false;
|
|
227
|
-
|
|
228
|
-
createAddInfoButtonsOutSide();
|
|
229
|
-
} else {
|
|
230
|
-
|
|
231
|
-
if (this.addInfoOutSide && (containerWidth + 70 >= 380)) {
|
|
232
|
-
return;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
if (this.addInfoInSide) {
|
|
236
|
-
return;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
this.addInfoInSide = true;
|
|
240
|
-
this.addInfoOutSide = false;
|
|
241
|
-
createAddInfoButtonsInSide();
|
|
242
|
-
}
|
|
243
246
|
}
|
|
244
247
|
|
|
245
248
|
protected setDimensions(containerWidth: number, containerHeight: number, defaultData: defaultType) {
|