doubleTap: make sure callback is called after draginit callbacks (fixes snap sliders doubleTap, #386)

This commit is contained in:
jean-emmanuel 2018-10-15 22:31:48 +02:00
parent 6a1193d573
commit 65f9dbb011
2 changed files with 3 additions and 1 deletions

View file

@ -5,6 +5,7 @@
- bug fixes
- `@{parent}` calls not working consistently in clone widgets
- `slider/pads`: inteverted ranges not working
- fix `doubleTap` for sliders with `snap` set to `true`
- editor
- removed widget deletion confirmation popup
- properties categories can now be folded

View file

@ -20,7 +20,8 @@ module.exports = (element, callback)=>{
) {
callback()
// execute callback at next cycle to ensure draginit events are resolved first
setTimeout(callback, 0)
lastTapTime = 0
} else {