1
0
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:
Zeno Rogue 2019-04-07 03:06:48 +02:00
parent 1a63872a44
commit a528f56a98

View File

@ -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();
}