Browse Source

send key up up the pipeline

master
Odilitime 4 years ago
parent
commit
ad0f1945a8
  1. 1
      src/interfaces/graphical/renderers/glfw/Window.cpp

1
src/interfaces/graphical/renderers/glfw/Window.cpp

@ -72,6 +72,7 @@ bool Window::init() { @@ -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