Scrolling on MacOS X
This commit is contained in:
parent
0d69b1d7ec
commit
61f86d63e0
@ -310,6 +310,10 @@ class BlenderCloudBrowser(pillar.PillarOperatorMixin,
|
||||
elif event.type == 'WHEELDOWNMOUSE':
|
||||
self._scroll_by(-MOUSE_SCROLL_PIXELS_PER_TICK)
|
||||
context.area.tag_redraw()
|
||||
elif event.type == 'TRACKPADPAN':
|
||||
self._scroll_by(event.mouse_prev_y - event.mouse_y,
|
||||
smooth=False)
|
||||
context.area.tag_redraw()
|
||||
|
||||
if left_mouse_release:
|
||||
if selected is None:
|
||||
|
Reference in New Issue
Block a user