@contentful/experiences-visual-editor-react 1.37.1-dev-20250512T1147-4ad9c25.0 → 1.37.1-dev-20250513T0700-6e8c057.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/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/dist/renderApp.js +2 -3
- package/dist/renderApp.js.map +1 -1
- package/package.json +4 -4
package/dist/renderApp.js
CHANGED
|
@@ -60938,7 +60938,7 @@ const VisualEditorRoot = ({ experience }) => {
|
|
|
60938
60938
|
}
|
|
60939
60939
|
SimulateDnD$1.updateDrag(e.clientX, e.clientY);
|
|
60940
60940
|
sendMessage(OUTGOING_EVENTS.MouseMove, {
|
|
60941
|
-
clientX: e.pageX,
|
|
60941
|
+
clientX: e.pageX - window.scrollX,
|
|
60942
60942
|
clientY: e.pageY - window.scrollY,
|
|
60943
60943
|
});
|
|
60944
60944
|
};
|
|
@@ -60946,8 +60946,7 @@ const VisualEditorRoot = ({ experience }) => {
|
|
|
60946
60946
|
return () => {
|
|
60947
60947
|
document.removeEventListener('mousemove', onMouseMove);
|
|
60948
60948
|
};
|
|
60949
|
-
|
|
60950
|
-
}, []);
|
|
60949
|
+
}, [setHoveringZone, setMousePosition]);
|
|
60951
60950
|
if (!initialized)
|
|
60952
60951
|
return null;
|
|
60953
60952
|
return React$1.createElement(RootRenderer, null);
|