DescriptionFix hover state in wrench menu
Hiding the bookmark bar from the wrench menu would cause the wrench menu to get stuck with a hover state.
The problem was that when the super view is resized we don't get a mouse exited event in the button cell.
In this change I'm working around this by re-checking if the mouse is in the view once the wrench menu is closed. An alternative would be to use NSTrackingArea to get mouse entered/exited events. I think using NSTrackingArea would be a lot more work but if people would like me to use that I'll update this change to use that.
BUG=82456
TEST=Ran and verified that the hover state was no longer stuck.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=85427
Patch Set 1 #
Total comments: 2
Patch Set 2 : Addressed review comments #
Messages
Total messages: 4 (0 generated)
|