@netless/window-manager 0.4.31 → 0.4.32

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,7 @@
1
+ ## 0.4.32 (2022-06-10)
2
+
3
+ - 功能: `WindowManager.mount` 添加 `applianceIcons` 选项配置光标使用的图片
4
+
1
5
  ## 0.4.31 (2022-06-09)
2
6
 
3
7
  - 修复: `bindContainer` 在回放模式下直接抛出错误的问题
@@ -1,4 +1,5 @@
1
1
  import { Cursor } from "./Cursor";
2
+ import type { ApplianceIcons } from "../index";
2
3
  import type { PositionType } from "../AttributesDelegate";
3
4
  import type { RoomMember, View } from "white-web-sdk";
4
5
  import type { AppManager } from "../AppManager";
@@ -21,7 +22,8 @@ export declare class CursorManager {
21
22
  private mainViewElement?;
22
23
  private sideEffectManager;
23
24
  private store;
24
- constructor(manager: AppManager, enableCursor: boolean);
25
+ applianceIcons: ApplianceIcons;
26
+ constructor(manager: AppManager, enableCursor: boolean, applianceIcons?: ApplianceIcons);
25
27
  private onCursorMove;
26
28
  private initCursorInstance;
27
29
  private canMoveCursor;