fastdom: clean
This commit is contained in:
parent
df74279db2
commit
2f38353483
3 changed files with 21 additions and 35 deletions
|
|
@ -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()
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue