@netless/window-manager 0.4.51 → 0.4.53

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/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## 0.4.53 (2022-11-30)
2
+
3
+ - 修复: 本地 pencilEraser 光标没有正确消失
4
+
5
+ ## 0.4.52 (2022-11-30)
6
+
7
+ - 增强: 触摸输入 pencilEraser 时显示本地光标
8
+
1
9
  ## 0.4.51 (2022-11-18)
2
10
 
3
11
  - 增强: 导出 PDF 现在需要额外安装 jspdf 才能使用(优化打包体积)
@@ -31,14 +31,17 @@ export declare class CursorManager {
31
31
  setMainViewDivElement(div: HTMLDivElement): void;
32
32
  get boxState(): any;
33
33
  get focusView(): View | undefined;
34
+ private mouseMoveListener_;
35
+ private mouseMoveTimer;
34
36
  private mouseMoveListener;
37
+ private mouseLeaveListener;
38
+ private showPencilEraserIfNeeded;
35
39
  private updateCursor;
36
40
  private getPoint;
37
41
  /**
38
42
  * 因为窗口内框在不同分辨率下的大小不一样,所以这里通过来鼠标事件的 target 来判断是在主白板还是在 APP 中
39
43
  */
40
44
  private getType;
41
- private mouseLeaveListener;
42
45
  updateContainerRect(): void;
43
46
  deleteCursor(uid: string): void;
44
47
  hideCursor(uid: string): void;