@netless/slide 1.4.2 → 1.4.3

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/README.md CHANGED
@@ -4,6 +4,10 @@
4
4
 
5
5
  ## changelog
6
6
 
7
+ ### 1.4.3
8
+ * 修复因 debounce 异常导致的 canvas 画布变大撑开画面问题
9
+ * 修复因全局缓存导致的特效图形消失问题
10
+
7
11
  ### 1.4.2
8
12
  * 修复亮度/对比度特效将图片变纯白问题
9
13
  * 修复发光特效出现整个图形变色问题
package/lib/Slide.d.ts CHANGED
@@ -443,6 +443,8 @@ export declare class Slide extends Slide_base {
443
443
  private logger;
444
444
  private _dispatchIncrId;
445
445
  private _receiveIncrId;
446
+ private resizeView;
447
+ private handleViewClick;
446
448
  static trackLogger: AliTrackLogger;
447
449
  private get dispatchIncrId();
448
450
  constructor(initConfig: ISlideConfig);
@@ -456,7 +458,7 @@ export declare class Slide extends Slide_base {
456
458
  static handleLogDownload: () => Promise<void>;
457
459
  private initPlayer;
458
460
  private userInputHandle;
459
- private handleViewClick;
461
+ private _handleViewClick;
460
462
  private handleViewTouchStart;
461
463
  private handleViewTouchEnd;
462
464
  private createController;
@@ -469,7 +471,7 @@ export declare class Slide extends Slide_base {
469
471
  * @param height Height value that needs to be updated, unit px.
470
472
  */
471
473
  updateFixedFrameSize(width: number, height: number, callback?: () => void): void;
472
- private resizeView;
474
+ private _resizeView;
473
475
  private receiveSyncHandler;
474
476
  /**
475
477
  * Set the state of the entire slide, the slide will update the screen with the incoming state.
@@ -564,6 +566,7 @@ export declare class Slide extends Slide_base {
564
566
  * @param url Resource URL prefix
565
567
  */
566
568
  setResource(taskId: string, url: string): void;
569
+ private flushDebounce;
567
570
  private _renderSlide;
568
571
  private handlePrevSlide;
569
572
  private handleNextSlide;