Take a look the following example:
function FrontEnd:OnMouseMove(x,y) if global_error_widget ~= nil or self:GetFadeLevel() > 0 then return false end if self.lastx and self.lasty and self.lastx ~= x and self.lasty ~= y then self.tracking_mouse = true end self.lastx = x self.lasty = y end
Don't you think, there should be "and (self.lastx ~= x or self.lasty ~= y)"?
It looks, like current implementation ignores straight mouse moves (i.e. when lastx is not equal to x AND y stays the same, or vice versa).
Steps to Reproduce
nothing.
nothing.
There are no comments to display.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now