Description[Mac] Fix BMB chevron button being black on Chrome open.
It seems the issue is caused by the button being drawn into
a layer early on and being cached. Adding a -setNeedsDisplay:
when we actually determine whether it should be visible fixes
the problem - so that the first actual paint to the screen
has the correct appearance.
I'm not sure why Cocoa draws it to a layer earlier than this
(this doesn't happen for other buttons), nor why it's background
color is black when that happens. However, this change does fix
the bad appearance.
BUG=563395
Committed: https://crrev.com/bf571b6dcf58bd8a28fdd5e15b4428e5c2a0b44f
Cr-Commit-Position: refs/heads/master@{#371344}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Add a comment. #Messages
Total messages: 12 (4 generated)
|