From ebbe64aeb6403c9a9ebb8b321a521abe2b5b0794 Mon Sep 17 00:00:00 2001 From: Hixie Date: Thu, 20 Nov 2014 15:50:43 -0800 Subject: [PATCH] Docs: fix the hitTest() logic for display:toolbar since it doesn't use size 0x0 for its hidden children Review URL: https://codereview.chromium.org/741313002 --- engine/src/flutter/examples/style/toolbar-layout.sky | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/src/flutter/examples/style/toolbar-layout.sky b/engine/src/flutter/examples/style/toolbar-layout.sky index ff9038ca3c..e290eb2292 100644 --- a/engine/src/flutter/examples/style/toolbar-layout.sky +++ b/engine/src/flutter/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);