mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-28 11:34:30 +00:00
comma actually can be entered in number editor
This commit is contained in:
1 parent
1a63872a44
commit
a528f56a98
1 file changed
+1
-1
+1
-1
@@ -695,7 +695,7 @@ namespace dialog {
|
||||
|
||||
keyhandler = [] (int sym, int uni) {
|
||||
handleNavigation(sym, uni);
|
||||
if((uni >= '0' && uni <= '9') || among(uni, '.', '+', '-', '*', '/', '^', '(', ')') || (uni >= 'a' && uni <= 'z')) {
|
||||
if((uni >= '0' && uni <= '9') || among(uni, '.', '+', '-', '*', '/', '^', '(', ')', ',') || (uni >= 'a' && uni <= 'z')) {
|
||||
ne.s += uni;
|
||||
apply_edit();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user