# HG changeset patch # User Tomasz Mon # Date 1184840119 -7200 # Node ID 38ca234df0d98ee9d537763b0dffb2e6fbc57cf6 # Parent 4f011bf1d08364e2aeb1d051d3b951d2c55dc75d correct doublesize diff -r 4f011bf1d083 -r 38ca234df0d9 src/audacious/ui_skinned_equalizer_slider.c --- a/src/audacious/ui_skinned_equalizer_slider.c Thu Jul 19 11:17:41 2007 +0200 +++ b/src/audacious/ui_skinned_equalizer_slider.c Thu Jul 19 12:15:19 2007 +0200 @@ -258,7 +258,7 @@ if (event->type == GDK_BUTTON_PRESS) { if (event->button == 1) { priv->pressed = TRUE; - y = event->y; + y = event->y/(priv->double_size ? 2 : 1); if (y >= priv->position && y < priv->position + 11) priv->drag_y = y - priv->position; @@ -303,7 +303,7 @@ if (priv->pressed) { gint y; - y = event->y; + y = event->y/(priv->double_size ? 2 : 1); priv->position = y - priv->drag_y; if (priv->position < 0)