From cb95e99723674ab36bbae21aa05f6d52871e4ebd Mon Sep 17 00:00:00 2001 From: Thomas Frauendorfer Date: Thu, 11 Oct 2007 16:11:37 +0200 Subject: [PATCH] Fix small graphics glitch in posbar. --- TODO | 2 ++ src/Skin.cpp | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/TODO b/TODO index 1a20aa1..d86d981 100644 --- a/TODO +++ b/TODO @@ -5,6 +5,8 @@ Todo: * ApplicationConfig * Balance * Playlist + + Add scrollbuttons to slider + + Make drag and drop work again * Jump entry to dialog * drag and drop outside viewport * jump to entry when it's played. diff --git a/src/Skin.cpp b/src/Skin.cpp index cdbc7f3..095f0ae 100644 --- a/src/Skin.cpp +++ b/src/Skin.cpp @@ -492,9 +492,9 @@ Skin::BuildSliders (void) img = getPixmap("posbar"); if (img) { - m_items[POSBAR] = img->copy (0, 0, 248, 10); - m_items[POSBAR_BTN_0] = img->copy (248, 0, 29, 10); - m_items[POSBAR_BTN_1] = img->copy (278, 0, 29, 10); + m_items[POSBAR] = img->copy (0, 0, 248, img->height ()); + m_items[POSBAR_BTN_0] = img->copy (248, 0, 29, img->height ()); + m_items[POSBAR_BTN_1] = img->copy (278, 0, 29, img->height ()); delete img; } else {