summaryrefslogtreecommitdiffstats
path: root/utils/themeeditor/models/parsetreenode.cpp
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2010-07-15 19:04:01 +0000
committerRobert Bieber <robby@bieberphoto.com>2010-07-15 19:04:01 +0000
commit3a354dd64f74491bafedb90c0a92edaca6de2921 (patch)
tree51f22f1f9a900f73ccd922f145ee1b9f8bd6da43 /utils/themeeditor/models/parsetreenode.cpp
parent209e30854ec5b9b1d0c3e6e44b7de9a40e9bcaf3 (diff)
downloadrockbox-3a354dd64f74491bafedb90c0a92edaca6de2921.tar.gz
rockbox-3a354dd64f74491bafedb90c0a92edaca6de2921.tar.bz2
rockbox-3a354dd64f74491bafedb90c0a92edaca6de2921.zip
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
Diffstat (limited to 'utils/themeeditor/models/parsetreenode.cpp')
-rw-r--r--utils/themeeditor/models/parsetreenode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/themeeditor/models/parsetreenode.cpp b/utils/themeeditor/models/parsetreenode.cpp
index f698adcd49..25351bf6a1 100644
--- a/utils/themeeditor/models/parsetreenode.cpp
+++ b/utils/themeeditor/models/parsetreenode.cpp
@@ -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;
}