Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1106)

Unified Diff: sky/framework/components/checkbox.dart

Issue 1013713005: Cleanup events related to material splashes (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/examples/stocks-fn/stocksapp.dart ('k') | sky/framework/components/drawer.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/framework/components/checkbox.dart
diff --git a/sky/framework/components/checkbox.dart b/sky/framework/components/checkbox.dart
index bc7e14a2bede5f9e4d04836443e31b74b5ef5be6..8a0d325b11ebe40a6fbda2b7d1e77902e838af82 100644
--- a/sky/framework/components/checkbox.dart
+++ b/sky/framework/components/checkbox.dart
@@ -59,7 +59,7 @@ class Checkbox extends ButtonBase {
ValueChanged onChanged;
Checkbox({ Object key, this.onChanged, this.checked }) : super(key: key) {
- events.listen('click', _handleClick);
+ events.listen('gesturetap', _handleClick);
eseidel 2015/03/16 23:21:25 Should events.listen assert/log for any name it do
abarth-chromium 2015/03/16 23:22:55 Oh, click is a real event in our system currently.
}
void _handleClick(sky.Event e) {
« no previous file with comments | « sky/examples/stocks-fn/stocksapp.dart ('k') | sky/framework/components/drawer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698