modal: prevent touchend from reaching inner widgets

This commit is contained in:
bordun 2019-09-11 19:55:05 +02:00
parent 98f04e121a
commit 9342d009af
2 changed files with 2 additions and 0 deletions

View file

@ -87,6 +87,7 @@ module.exports = class Modal extends Panel {
} else {
this.light.addEventListener('fast-click',(e)=>{
if (e.capturedByEditor === true) return
e.detail.preventOriginalEvent = true
this.setValue(1, {sync:true, send:true})
})
}