Browse Source

Fix default Resizer on style update. Closes #5501

pull/5524/head
Artur Arseniev 2 years ago
parent
commit
7574f635e4
  1. 2
      src/utils/Resizer.ts

2
src/utils/Resizer.ts

@ -573,8 +573,6 @@ export default class Resizer {
const elStyle = el.style as Record<string, any>; const elStyle = el.style as Record<string, any>;
elStyle[keyWidth!] = rect.w + unitWidth!; elStyle[keyWidth!] = rect.w + unitWidth!;
elStyle[keyHeight!] = rect.h + unitHeight!; elStyle[keyHeight!] = rect.h + unitHeight!;
elStyle.top = rect.t + unitHeight!;
elStyle.left = rect.l + unitWidth!;
} }
this.updateContainer(); this.updateContainer();

Loading…
Cancel
Save