diff options
author | Conor Curran <conor.curran@canonical.com> | 2011-11-16 18:42:25 +0000 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2011-11-16 18:42:25 +0000 |
commit | 3c02b69b2d0801d8a72c6016a41192b601ce4f2f (patch) | |
tree | 9b0b2ad13427f23b380ab6492dacf1fe84b37f1e | |
parent | ef3495e8ca6aa257c2d3123a7b0a25067570b0de (diff) | |
parent | 9272abc2956c822f25f88aaae1c20f06c0540559 (diff) | |
download | ayatana-indicator-sound-3c02b69b2d0801d8a72c6016a41192b601ce4f2f.tar.gz ayatana-indicator-sound-3c02b69b2d0801d8a72c6016a41192b601ce4f2f.tar.bz2 ayatana-indicator-sound-3c02b69b2d0801d8a72c6016a41192b601ce4f2f.zip |
merge in fix for poor collision detection
-rw-r--r-- | src/transport-widget.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/transport-widget.c b/src/transport-widget.c index c535e00..2d1a7f2 100644 --- a/src/transport-widget.c +++ b/src/transport-widget.c @@ -561,15 +561,15 @@ transport_widget_collision_detection ( gint x, { TransportAction event = TRANSPORT_ACTION_NO_ACTION; - if (x > 67 && x < 112 + if (x > 57 && x < 102 && y > 12 && y < 40){ event = TRANSPORT_ACTION_PREVIOUS; } - else if (x > 111 && x < 153 + else if (x > 101 && x < 143 && y > 5 && y < 47){ event = TRANSPORT_ACTION_PLAY_PAUSE; } - else if (x > 152 && x < 197 + else if (x > 142 && x < 187 && y > 12 && y < 40){ event = TRANSPORT_ACTION_NEXT; } |