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
This commit is contained in:
Hixie 2014-11-20 15:50:43 -08:00
parent eedc2410f2
commit 173b73535b

View File

@ -204,6 +204,7 @@ SKY MODULE
if (this.showingOverflow) if (this.showingOverflow)
if (this.inChild(this.overflowChild, x, y)) if (this.inChild(this.overflowChild, x, y))
return this.overflowChild; return this.overflowChild;
return this.node;
} }
} }
sky.registerLayoutManager('toolbar', module.exports.ToolbarLayoutManager); sky.registerLayoutManager('toolbar', module.exports.ToolbarLayoutManager);