Make sure to update group visuals when dragging.
Tabs are briefly resized to their ideal size when torn out of a window during a drag, then updated to the size and position they had before the drag for better visuals. The group visuals were getting updated based on the ideal bounds (which are never painted and therefore are not visible) but not the drag-appropriate bounds, resulting in strange group highlights and underlines. This causes the tab visuals to be updated after the appropriate dragging bounds are set on the tabs and tab group header. Bug: 1099047 Change-Id: I918d34efc47c6ec40e8558c0de5f8cbae2ad8a3a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2268389 Auto-Submit: Dana Fried <dfried@chromium.org> Commit-Queue: Charlene Yan <cyan@chromium.org> Reviewed-by:Charlene Yan <cyan@chromium.org> Cr-Commit-Position: refs/heads/master@{#782840}
Showing
Please register or sign in to comment