proper fix for when then is a pointer event

This commit is contained in:
Stewart Allen 2022-01-21 10:37:22 -05:00
commit c25c470e21

View file

@ -198,7 +198,10 @@
viewControl.setPosition(pos);
updateLastAction();
refresh();
try { if (pos.then) pos.then(); } catch (e) { }
let { then } = pos;
if (typeof then === 'function') {
then();
}
}).
start();
}