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:
parent
eedc2410f2
commit
173b73535b
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user