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

Unified Diff: sky/sdk/lib/widgets/dialog.dart

Issue 1193513007: Rename EventListenerNode to Listener (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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/sdk/lib/widgets/button_base.dart ('k') | sky/sdk/lib/widgets/drawer.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/widgets/dialog.dart
diff --git a/sky/sdk/lib/widgets/dialog.dart b/sky/sdk/lib/widgets/dialog.dart
index 36a171aeb222a81421d997c060e414daaca3e462..0686179a7bc0d90a2a1b252cd038a43e6a4b68de 100644
--- a/sky/sdk/lib/widgets/dialog.dart
+++ b/sky/sdk/lib/widgets/dialog.dart
@@ -36,7 +36,10 @@ class Dialog extends Component {
children.add(content);
return new Stack([
- new EventListenerNode(mask, onGestureTap: (_) => onDismiss()),
+ new Listener(
+ child: mask,
+ onGestureTap: (_) => onDismiss()
+ ),
new Center(
child: new ConstrainedBox(
constraints: new BoxConstraints(minWidth: 280.0),
« no previous file with comments | « sky/sdk/lib/widgets/button_base.dart ('k') | sky/sdk/lib/widgets/drawer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698