Bläddra i källkod

Mouse up/down events from entry_sdl.cpp incorrectly have mouse z (scroll_z) set to zero (#1404)

OswaldHurlem 7 år sedan
förälder
incheckning
ff34c8c37d
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      examples/common/entry/entry_sdl.cpp

+ 1 - 1
examples/common/entry/entry_sdl.cpp

@@ -561,7 +561,7 @@ namespace entry
 								m_eventQueue.postMouseEvent(handle
 								m_eventQueue.postMouseEvent(handle
 									, mev.x
 									, mev.x
 									, mev.y
 									, mev.y
-									, 0
+									, m_mz
 									, button
 									, button
 									, mev.type == SDL_MOUSEBUTTONDOWN
 									, mev.type == SDL_MOUSEBUTTONDOWN
 									);
 									);