@lvce-editor/editor-worker 1.11.0 → 1.12.0
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/api/api.d.ts +1 -0
- package/dist/editorWorkerMain.js +1 -1
- package/package.json +1 -1
package/dist/api/api.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ interface EventMap {
|
|
|
21
21
|
'Hover.handleSashPointerDown': (state: any, eventX: number, eventY: number) => Promise<any>
|
|
22
22
|
'Hover.handleSashPointerMove': (state: any, eventX: number, eventY: number) => Promise<any>
|
|
23
23
|
'Hover.handleSashPointerUp': (state: any, eventX: number, eventY: number) => Promise<any>
|
|
24
|
+
'Hover.loadContent': (editorUid: number, state: any, position: any) => Promise<any>
|
|
24
25
|
'Hover.render': (oldState: any, newState: any) => Promise<any>
|
|
25
26
|
}
|
|
26
27
|
|
package/dist/editorWorkerMain.js
CHANGED
|
@@ -8053,7 +8053,7 @@ const renderColorPicker = async (oldState, newState) => {
|
|
|
8053
8053
|
};
|
|
8054
8054
|
|
|
8055
8055
|
const loadContent = async (editorUid, state, position) => {
|
|
8056
|
-
const hoverInfo = await
|
|
8056
|
+
const hoverInfo = await getEditorHoverInfo(editorUid, position);
|
|
8057
8057
|
if (!hoverInfo) {
|
|
8058
8058
|
return state;
|
|
8059
8059
|
}
|