traversing stack works

This commit is contained in:
bordun 2020-03-07 12:23:20 +01:00
parent cb48d0f408
commit cee4cb81b7
3 changed files with 42 additions and 24 deletions

View file

@ -259,7 +259,7 @@ class Panel extends Container() {
disableTraversingGestures(this.widget)
if (traversing) {
enableTraversingGestures(this.widget, {smart: typeof traversing === 'string' && traversing.match(/smart|auto/)})
enableTraversingGestures(this.widget, {type: typeof traversing === 'string' ? traversing : undefined})
}
}