Ver Fonte

Bugfix: Mouse wheel scroll events now properly trigger

BearishSun há 8 anos atrás
pai
commit
346ed33e80
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      Source/BansheeCore/Input/BsInput.cpp

+ 1 - 1
Source/BansheeCore/Input/BsInput.cpp

@@ -171,7 +171,7 @@ namespace bs
 			mMouseScroll = 0.0f;
 		}
 
-		if(pointerPos != mLastPointerPosition)
+		if(pointerPos != mLastPointerPosition || mouseScroll != 0.0f)
 		{
 			PointerEvent event;
 			event.alt = false;