diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-09-02 22:17:26 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-09-02 22:17:26 +1000 |
commit | ac7577b4df91fbf31541f203e88eccb64b98365a (patch) | |
tree | bc69420c0cab776c49b27deeb93d9d2ffaff75c7 /source/windowing/StarTextBoxWidget.cpp | |
parent | 566b0f4d362fb2858fe76dca805c4d2930da0f27 (diff) |
Rename Keypad enums
noticed keypad binds were named like this in SE (probably due to using the names given by SDL there) and it's nicer anyway. better do this sooner than later.
Diffstat (limited to 'source/windowing/StarTextBoxWidget.cpp')
-rw-r--r-- | source/windowing/StarTextBoxWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/windowing/StarTextBoxWidget.cpp b/source/windowing/StarTextBoxWidget.cpp index 41b4696..634a006 100644 --- a/source/windowing/StarTextBoxWidget.cpp +++ b/source/windowing/StarTextBoxWidget.cpp @@ -284,7 +284,7 @@ bool TextBoxWidget::innerSendEvent(InputEvent const& event) { } return false; } - if (keyDown->key == Key::Return || keyDown->key == Key::Kp_enter) { + if (keyDown->key == Key::Return || keyDown->key == Key::KeypadEnter) { if (m_onEnterKey) { m_onEnterKey(this); return true; |