Browse Source

Accept backspace key command on key-repeat with Module Browser search box.

tags/v1.1.5
Andrew Belt 4 years ago
parent
commit
52d838d28f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/app/ModuleBrowser.cpp

+ 1
- 1
src/app/ModuleBrowser.cpp View File

@@ -615,7 +615,7 @@ inline void TagItem::step() {
}

inline void BrowserSearchField::onSelectKey(const event::SelectKey& e) {
if (e.action == GLFW_PRESS) {
if (e.action == GLFW_PRESS || e.action == GLFW_REPEAT) {
switch (e.key) {
case GLFW_KEY_ESCAPE: {
BrowserOverlay* overlay = getAncestorOfType<BrowserOverlay>();


Loading…
Cancel
Save