forked from len0rd/rockbox
Theme Editor: Corrected last commit. Touch areas should have been made relative, not absolute
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27436 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
209e30854e
commit
3a354dd64f
1 changed files with 2 additions and 2 deletions
|
@ -843,8 +843,8 @@ bool ParseTreeNode::execTag(const RBRenderInfo& info, RBViewport* viewport)
|
|||
int height = element->params[3].data.number;
|
||||
QString action(element->params[4].data.text);
|
||||
RBTouchArea* temp = new RBTouchArea(width, height, action, info);
|
||||
x -= viewport->x();
|
||||
y -= viewport->y();
|
||||
x += viewport->x();
|
||||
y += viewport->y();
|
||||
temp->setPos(x, y);
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue