parent
1498fa9e4a
commit
bf50a1c191
|
@ -84,6 +84,8 @@ public:
|
||||||
{
|
{
|
||||||
if (key.modifiers == Key::Modifiers::None and isdigit(key.key))
|
if (key.modifiers == Key::Modifiers::None and isdigit(key.key))
|
||||||
m_count = m_count * 10 + key.key - '0';
|
m_count = m_count * 10 + key.key - '0';
|
||||||
|
else if (key == Key::Backspace)
|
||||||
|
m_count /= 10;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
auto it = keymap.find(key);
|
auto it = keymap.find(key);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user