@reearth/core 0.0.7-alpha.27 → 0.0.7-alpha.28
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/core.js +176 -173
- package/dist/core.umd.cjs +21 -21
- package/package.json +1 -1
- package/src/Map/Sketch/hooks.ts +3 -1
package/package.json
CHANGED
package/src/Map/Sketch/hooks.ts
CHANGED
|
@@ -401,7 +401,9 @@ export default function ({
|
|
|
401
401
|
cancelEditRef.current();
|
|
402
402
|
}
|
|
403
403
|
if (type === undefined) {
|
|
404
|
-
overrideInteractionModeRef.current?.(
|
|
404
|
+
overrideInteractionModeRef.current?.(
|
|
405
|
+
interactionModeRef.current === "sketch" ? "default" : interactionModeRef.current,
|
|
406
|
+
);
|
|
405
407
|
}
|
|
406
408
|
}, [type]);
|
|
407
409
|
|