Remove EventDisposition

All the use cases for EventDisposition are now addressed by the gesture
detection system.
This commit is contained in:
Adam Barth
2015-09-21 16:41:54 -07:00
parent ffd6a26ce9
commit 49c8aca09c

View File

@@ -190,11 +190,10 @@ class MineDiggerApp extends App {
);
}
EventDisposition handleToolbarPointerDown(sky.PointerEvent event) {
void handleToolbarPointerDown(sky.PointerEvent event) {
setState(() {
resetGame();
});
return EventDisposition.processed;
}
// User action. The user uncovers the cell which can cause losing the game.