We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a9408f commit 021b1fcCopy full SHA for 021b1fc
src/Mouse.moon
@@ -8,7 +8,7 @@ class Mouse
8
scaledPosition = =>
9
x, y = mp.get_mouse_pos!
10
@_rawX, @_rawY = x, y
11
- return math.floor( x/Window.osdScale ), math.floor( y/Window.osdScale )
+ return x / Window.osdScale, y / Window.osdScale
12
13
@update: =>
14
oldX, oldY = @x, @y
0 commit comments