mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-05 08:32:58 +00:00
fixed: menu key support conflicting with browser native menu keys
This commit is contained in:
1 parent
e216f0a355
commit
ea47767bb8
1 file changed
+3
@@ -1077,6 +1077,9 @@ var _CPMenuBarVisible = NO,
|
||||
|
||||
anEvent._isKeyEquivalent = YES; // prevent the menu keystroke from beeing inserted into textview
|
||||
[self performActionForItemAtIndex:index];
|
||||
|
||||
// we are done with this event in cappuccino space. do not let the browser do something weird additionally (e.g. command-o).
|
||||
_CPDOMEventStop(anEvent._DOMEvent);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user