fastdom: clean

This commit is contained in:
jean-emmanuel 2022-01-26 16:40:39 +01:00
parent df74279db2
commit 2f38353483
3 changed files with 21 additions and 35 deletions

View file

@ -177,14 +177,12 @@ module.exports = class MultiXy extends Pad {
super.resizeHandle(event)
fastdom.measure(()=>{
for (var k in this.pads) {
this.pads[k].width = this.width
this.pads[k].height = this.height
this.pads[k].padPadding = this.padPadding
}
this.updateHandlesPosition()
})
for (var k in this.pads) {
this.pads[k].width = this.width
this.pads[k].height = this.height
this.pads[k].padPadding = this.padPadding
}
this.updateHandlesPosition()
}