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

javascript - Iterate over array and calculate average values of array-parts -

iphone - Using nested NSDictionary with Picker -

php - How can I edit my code to echo the data of child's element where my search term was found in, in XMLReader? -