mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-06 03:57:56 +08:00
parent
1073204858
commit
320420478c
@ -128,7 +128,7 @@ export default class DragResizeHelper {
|
||||
this.moveableHelper.onResize(e);
|
||||
const { marginLeft, marginTop } = getMarginValue(this.target);
|
||||
this.target.style.left = `${this.frameSnapShot.left + beforeTranslate[0] - marginLeft}px`;
|
||||
this.target.style.top = `${this.frameSnapShot.top + beforeTranslate[1] - marginTop} - marginToppx`;
|
||||
this.target.style.top = `${this.frameSnapShot.top + beforeTranslate[1] - marginTop}px`;
|
||||
}
|
||||
|
||||
this.target.style.width = `${width}px`;
|
||||
|
Loading…
x
Reference in New Issue
Block a user