@netless/app-slide 0.2.79 → 0.2.81
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/dist/index.d.ts +13 -2
- package/dist/main.cjs.js +141 -141
- package/dist/main.cjs.js.map +1 -1
- package/dist/main.es.js +376 -134
- package/dist/main.es.js.map +1 -1
- package/dist/main.iife.js +141 -141
- package/dist/main.iife.js.map +1 -1
- package/package.json +2 -2
- package/src/SlideController/index.ts +2 -2
- package/src/index.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netless/app-slide",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.81",
|
|
4
4
|
"main": "dist/main.cjs.js",
|
|
5
5
|
"module": "dist/main.es.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"README-zh.md"
|
|
11
11
|
],
|
|
12
12
|
"devDependencies": {
|
|
13
|
-
"@netless/slide": "1.4.
|
|
13
|
+
"@netless/slide": "1.4.38",
|
|
14
14
|
"@types/color-string": "^1.5.2",
|
|
15
15
|
"color-string": "^1.9.1",
|
|
16
16
|
"jspdf": "2.5.1",
|
|
@@ -322,8 +322,8 @@ export class SlideController {
|
|
|
322
322
|
logger: options.logger,
|
|
323
323
|
whiteTracker: defaults.whiteTracker,
|
|
324
324
|
timestamp: this.timestamp,
|
|
325
|
-
skipActionWhenFrozen: true,
|
|
326
325
|
customLinks: attribute.customLinks,
|
|
326
|
+
skipActionWhenFrozen: options.skipActionWhenFrozen ?? true,
|
|
327
327
|
});
|
|
328
328
|
if (import.meta.env.DEV) {
|
|
329
329
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
@@ -376,7 +376,7 @@ export class SlideController {
|
|
|
376
376
|
if (this.ready) {
|
|
377
377
|
let isNeedSyncState = false;
|
|
378
378
|
log("[Slide] unfreeze", this.context.appId);
|
|
379
|
-
if (this.invisibleBehavior === "frozen"
|
|
379
|
+
if (this.invisibleBehavior === "frozen") {
|
|
380
380
|
this.slide.release();
|
|
381
381
|
isNeedSyncState = true;
|
|
382
382
|
} else {
|