habit-puzzles work around key conflict handling by not allowing custom shortcuts
This commit is contained in:
@@ -15,7 +15,10 @@ import flixel.util.FlxTimer;
|
||||
import flixel.FlxCamera;
|
||||
|
||||
/**
|
||||
* KissInputText based on
|
||||
* KissInputText is based on FlxInputText.
|
||||
*
|
||||
* It is modified to be compatible with kiss_flixel's SimpleWindow
|
||||
*
|
||||
* FlxInputText v1.11, ported to Haxe
|
||||
* @author larsiusprime, (Lars Doucet)
|
||||
* @link http://github.com/haxeflixel/flixel-ui
|
||||
|
@@ -64,7 +64,10 @@
|
||||
|
||||
(set keyHandler.onBadKey ->:Void [key context]
|
||||
(unless (= key xKey)
|
||||
(print "bad key $key in context $context"))) // TODO do SOMETHING like visual/audio bell, cancel and restart
|
||||
(#when debug
|
||||
(print "bad key $key in context $context"))
|
||||
// TODO do SOMETHING like visual/audio bell, cancel and restart
|
||||
))
|
||||
(set keyHandler.onSelectItem
|
||||
->:Void [:ShortcutAction a] {
|
||||
(a)
|
||||
|
Reference in New Issue
Block a user