Fix small graphics glitch in posbar.

This commit is contained in:
Thomas Frauendorfer 2007-10-11 16:11:37 +02:00
parent cbb6ed1d15
commit cb95e99723
2 changed files with 5 additions and 3 deletions

View file

@ -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 {