DescriptionUpdates to overrides of InkDropHost::AddInkDropLayer()
Add a call to SetFillsBoundsOpaquely(false) in
ToolbarButton::AddInkDropLayer() and
AppMenuButton::AddInkDropLayer(). This prevents
a black background appearing (indicating
non-painted regions) when the buttons show a
focus rect and ripple simultaneously.
Furthermore, in ToolbarButton::AddInkDropLayer(),
schedule a repaint on the parent layer once the
ink drop is added. This prevents a stale image
from remaining visible, which appears to overlap
with the current image drawn on the newly-created
layer for image().
BUG=551492, 546683
TEST=manual
Committed: https://crrev.com/649ed114438aa8ebd56904145ef540b61556357f
Cr-Commit-Position: refs/heads/master@{#360589}
Patch Set 1 #
Total comments: 8
Messages
Total messages: 13 (4 generated)
|