mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-01-25 14:09:05 -06:00
sys: Make sure scrolling counts as an input event
This commit is contained in:
@@ -654,6 +654,13 @@ namespace hex {
|
||||
win->processEvent();
|
||||
});
|
||||
|
||||
glfwSetScrollCallback(this->m_window, [](GLFWwindow *window, double xOffset, double yOffset) {
|
||||
hex::unused(xOffset, yOffset);
|
||||
|
||||
auto win = static_cast<Window *>(glfwGetWindowUserPointer(window));
|
||||
win->processEvent();
|
||||
});
|
||||
|
||||
glfwSetKeyCallback(this->m_window, [](GLFWwindow *window, int key, int scancode, int action, int mods) {
|
||||
hex::unused(mods);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user