mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-06 03:57:56 +08:00
fix(editor): 拖动浮动窗口会导致窗口变大
This commit is contained in:
parent
de1711d713
commit
42f1f28b02
@ -90,8 +90,6 @@ const initMoveable = () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
moveable.on('drag', (e) => {
|
moveable.on('drag', (e) => {
|
||||||
width.value = e.width;
|
|
||||||
height.value = e.height;
|
|
||||||
e.target.style.transform = e.transform;
|
e.target.style.transform = e.transform;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user