diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2010-09-05 10:23:09 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2010-09-05 10:23:09 +0000 |
commit | dbde63bfecc54b9d6402c81bf2bb32b78ec64d08 (patch) | |
tree | e20deaefabdb2aa048a1d886f270ebdb5183ebb6 /apps/gui | |
parent | 81bce3b5b3cef318023f2e2034b97307bcbbc7c4 (diff) |
progressbars are drawn inside viewports so all coords are viewport relative. so fix - for the x coord to be 0 instead of vp->x which never made sense (woops from 18months ago :p )
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27998 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui')
-rw-r--r-- | apps/gui/skin_engine/skin_parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c index a5ff64ac9d..a486436816 100644 --- a/apps/gui/skin_engine/skin_parser.c +++ b/apps/gui/skin_engine/skin_parser.c @@ -620,7 +620,7 @@ static int parse_progressbar_tag(struct skin_element* element, if (!isdefault(param)) pb->x = param->data.number; else - pb->x = vp->x; + pb->x = 0; param++; if (!isdefault(param)) |