Permalink
Browse files

Reverse scroll events (Closes #110)

Wheel up -> previous
Wheel down -> next

This matches the browser/viewport behaviour
  • Loading branch information...
1 parent 139ec4e commit d6efc81ae0bf339a7ea1aca171fa649d960aa5c8 @eonpatapon eonpatapon committed Jan 13, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/extension.js
View
@@ -1159,9 +1159,9 @@ const MediaplayerStatusButton = new Lang.Class({
let direction = event.get_scroll_direction();
if (direction == Clutter.ScrollDirection.DOWN)
- playerManager.previous();
- else if (direction == Clutter.ScrollDirection.UP)
playerManager.next();
+ else if (direction == Clutter.ScrollDirection.UP)
+ playerManager.previous();
},
// Override PanelMenu.Button._onButtonPress

0 comments on commit d6efc81

Please sign in to comment.