You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I move the mousewheel while keeping the mouse still, I only see -1 or 1, even when released. Only when I move the mouse does it update to zero:
Namespace myapp
#Import "<std>"
#Import "<mojo>"
Using std..
Using mojo..
Class MyWindow Extends Window
Method New( title:String="Simple mojo app",width:Int=640,height:Int=480,flags:WindowFlags=Null )
Super.New( title,width,height,flags )
End
Method OnRender( canvas:Canvas ) Override
App.RequestRender()
canvas.DrawText("MouseY: " + Mouse.WheelY, 0, 0)
End
End
Function Main()
New AppInstance
New MyWindow
App.Run()
End
The text was updated successfully, but these errors were encountered:
Original Author: DruggedBunny
If I move the mousewheel while keeping the mouse still, I only see -1 or 1, even when released. Only when I move the mouse does it update to zero:
The text was updated successfully, but these errors were encountered: