mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 18:00:34 +00:00
comma actually can be entered in number editor
This commit is contained in:
parent
1a63872a44
commit
a528f56a98
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user