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

Unified Diff: sky/examples/style/toolbar-layout.sky

Issue 741313002: Docs: fix the hitTest() logic for display:toolbar since it doesn't use size 0x0 for its hidden chil… (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/style/toolbar-layout.sky
diff --git a/sky/examples/style/toolbar-layout.sky b/sky/examples/style/toolbar-layout.sky
index ff9038ca3cd9423d37bd0f608547a36dbeb71804..e290eb22922867db196eba5bbc9a6aa457c0b37a 100644
--- a/sky/examples/style/toolbar-layout.sky
+++ b/sky/examples/style/toolbar-layout.sky
@@ -204,6 +204,7 @@ SKY MODULE
if (this.showingOverflow)
if (this.inChild(this.overflowChild, x, y))
return this.overflowChild;
+ return this.node;
}
}
sky.registerLayoutManager('toolbar', module.exports.ToolbarLayoutManager);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698