AXElements / mouse

High Level Mouse Manipulation for Ruby via CGEvents
12 stars 2 forks source link

:in `scroll': unknown units `(null)' (ArgumentError) #11

Closed ericcastro closed 9 years ago

ericcastro commented 9 years ago

Getting this error when trying to scroll by pixels using ", :pixels"

ferrous26 commented 9 years ago

Had to stare at this for longer than I'd care to admit. The problem is that :pixels is not a unit. The correct unit is :pixel, which is accepted and passed along correctly.