diff options
Diffstat (limited to '')
-rw-r--r-- | src/GlobalState.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GlobalState.cpp b/src/GlobalState.cpp index e947e01..f04bb35 100644 --- a/src/GlobalState.cpp +++ b/src/GlobalState.cpp @@ -143,10 +143,10 @@ void PhysExec() { } }); - listener.RegisterHandler("MouseMoved", [](const Event& eventData) { + listener.RegisterHandler("MouseMove", [](const Event& eventData) { if (!gs) return; - auto data = eventData.get<std::tuple<float,float>>(); + auto data = eventData.get<std::tuple<double,double>>(); gs->HandleRotation(std::get<0>(data),std::get<1>(data)); }); |