Skip to content

Commit 592fea2

Browse files
committed
Added fast escape-hatch
1 parent 38ea9da commit 592fea2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

utils.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,11 @@ export function enable() {
3535
case Clutter.EventType.TOUCH_CANCEL:
3636
inTouch = false;
3737
break;
38+
default:
39+
return Clutter.EVENT_PROPAGATE;
3840
}
41+
42+
// was one of our touch events
3943
touchCoords = event.get_coords();
4044
return Clutter.EVENT_PROPAGATE;
4145
});

0 commit comments

Comments
 (0)