try fix key repeat of ctrl
This commit is contained in:
parent
231b03ff5c
commit
4955a3d846
@ -177,7 +177,7 @@ class fenrirManager():
|
|||||||
else:
|
else:
|
||||||
if not self.environment['runtime']['inputManager'].noKeyPressed():
|
if not self.environment['runtime']['inputManager'].noKeyPressed():
|
||||||
if self.singleKeyCommand:
|
if self.singleKeyCommand:
|
||||||
self.singleKeyCommand = len( self.environment['runtime']['inputManager'].getLastDeepestInput() ) == 1
|
self.singleKeyCommand = len(self.environment['input']['currInput'])== 1
|
||||||
# key is already released. we need the old one
|
# key is already released. we need the old one
|
||||||
if not( self.singleKeyCommand and self.environment['runtime']['inputManager'].noKeyPressed()):
|
if not( self.singleKeyCommand and self.environment['runtime']['inputManager'].noKeyPressed()):
|
||||||
shortcut = self.environment['runtime']['inputManager'].getCurrShortcut()
|
shortcut = self.environment['runtime']['inputManager'].getCurrShortcut()
|
||||||
|
Loading…
Reference in New Issue
Block a user