views: fix bug in tree node bounds calculation
A couple of bounds calculations used bounds().x(). bounds() is relative to the parent, where as these calculations are meant to be relative to the tree. So, they shouldn't use bounds().x() and should instead always be 0 based. BUG=779983 TEST=none Change-Id: I92ffd99c9c7caef25b06bb7bdf3c05bbae466775 Reviewed-on: https://chromium-review.googlesource.com/777768Reviewed-by:Bret Sepulveda <bsep@chromium.org> Reviewed-by:
Elly Fong-Jones <ellyjones@chromium.org> Commit-Queue: Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#517897}
Showing
Please register or sign in to comment