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

Unified Diff: sky/examples/fn/lib/component.dart

Issue 975863003: Don't hardcode the list of events types in fn (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: More careful event syncing Created 5 years, 10 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 | « no previous file | sky/examples/fn/lib/event.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/fn/lib/component.dart
diff --git a/sky/examples/fn/lib/component.dart b/sky/examples/fn/lib/component.dart
index 1503e6348cf5d16475da53b0949efccfb8117981..93900235baf743fac42d7e14a7a32dc388a11d52 100644
--- a/sky/examples/fn/lib/component.dart
+++ b/sky/examples/fn/lib/component.dart
@@ -103,6 +103,8 @@ abstract class Component extends Node {
_currentlyRendering = null;
_currentOrder = lastOrder;
+ _rendered.events.addAll(events);
+
_dirty = false;
// TODO(rafaelw): This prevents components from returning different node
« no previous file with comments | « no previous file | sky/examples/fn/lib/event.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698