mce 0.13.10 → 0.13.11
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 +4 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9448,8 +9448,10 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
9448
9448
|
rotate: style.rotate + offsetStyle.rotate,
|
|
9449
9449
|
borderRadius: Math.round(style.borderRadius + offsetStyle.borderRadius)
|
|
9450
9450
|
};
|
|
9451
|
-
|
|
9452
|
-
|
|
9451
|
+
if (handle === "move") {
|
|
9452
|
+
newStyle.left = snap(newStyle.left, "x");
|
|
9453
|
+
newStyle.top = snap(newStyle.top, "y");
|
|
9454
|
+
}
|
|
9453
9455
|
if (handle.startsWith("resize")) {
|
|
9454
9456
|
resizeElement(
|
|
9455
9457
|
element,
|