mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-12 02:10: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) {
|
keyhandler = [] (int sym, int uni) {
|
||||||
handleNavigation(sym, 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;
|
ne.s += uni;
|
||||||
apply_edit();
|
apply_edit();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user