cocoa - OS X Lion scroll direction and NSSlider -


my application has horizontal nsslider acting volume control , lion's new "natural" (inverted) scroll direction behaves wrong. when slide left moves right , vice versa. according can see in lion's itunes apple planned should work same regardless of setting, when slide left should move slider left , vice versa. question how can find out mouse scroll inverted or not? or maybe can somehow raw deltax/deltay values, without invention applied?

ask event if isdirectioninvertedfromdevice, , multiply delta -1 if so.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -