Fixed: CPMenu ghost his fixed #1887

Fixed the bug about ghost menu after several right click
This commit is contained in:
Alexandre Wilhelm committed 2013-04-01 13:28:30 -07:00
1 parent 6d0caacdeb
commit 71cc825038
1 file changed
+2
+2
View File
@@ -851,6 +851,8 @@ var _CPMenuBarVisible = NO,
var theWindow = [aView window],
menuWindow = [_CPMenuWindow menuWindowWithMenu:aMenu font:aFont];
[_CPMenuWindow poolMenuWindow:menuWindow];
[menuWindow setBackgroundStyle:_CPMenuWindowPopUpBackgroundStyle];
var constraintRect = [CPMenu _constraintRectForView:aView],