mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-26 02:20:54 +00:00
Fixed: #1273 problem with shift enter on shop window
This commit is contained in:
parent
d2bc4b288a
commit
5f98c48e13
1 changed files with 3 additions and 3 deletions
|
@ -359,7 +359,7 @@ bool CCocoaEventEmitter::processMessage(NSEvent* event, CEventServer* server)
|
|||
// push the key press event to the event server
|
||||
server->postEvent(new NLMISC::CEventKeyDown(
|
||||
virtualKeycodeToNelKey([event keyCode]),
|
||||
modifierFlagsToNelKeyButton([event modifierFlags]),
|
||||
modifiers,
|
||||
[event isARepeat] == NO, this));
|
||||
|
||||
// if this was a text event
|
||||
|
@ -372,7 +372,7 @@ bool CCocoaEventEmitter::processMessage(NSEvent* event, CEventServer* server)
|
|||
|
||||
// push the text event to event server as well
|
||||
server->postEvent(new NLMISC::CEventChar(
|
||||
ucstr[0], NLMISC::noKeyButton, this));
|
||||
ucstr[0], modifiers, this));
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
@ -381,7 +381,7 @@ bool CCocoaEventEmitter::processMessage(NSEvent* event, CEventServer* server)
|
|||
// push the key release event to the event server
|
||||
server->postEvent(new NLMISC::CEventKeyUp(
|
||||
virtualKeycodeToNelKey([event keyCode]),
|
||||
modifierFlagsToNelKeyButton([event modifierFlags]), this));
|
||||
modifiers, this));
|
||||
break;
|
||||
}
|
||||
case NSFlagsChanged:break;
|
||||
|
|
Loading…
Reference in a new issue