Browse Source

send key up up the pipeline

master
Odilitime 1 year ago
parent
commit
ad0f1945a8
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/interfaces/graphical/renderers/glfw/Window.cpp

+ 1
- 0
src/interfaces/graphical/renderers/glfw/Window.cpp View File

@@ -72,6 +72,7 @@ bool Window::init() {
this->openglWindow->onWheel = this->ui->onWheel;
// keyboard
this->openglWindow->onKeyUp = [&](int key, int scancode, int mods) {
this->ui->onKeyUp(key, scancode, 0, mods);
};
return true;

Loading…
Cancel
Save