Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/OficinaActivity.py
diff options
context:
space:
mode:
authorManuel Kaufmann <humitos@gmail.com>2012-04-30 20:02:05 (GMT)
committer Manuel QuiƱones <manuq@laptop.org>2012-04-30 20:25:39 (GMT)
commitf935dcb0f2fed1fe69acd35f46e6cffa3758cfac (patch)
treeb1b08be4fcb1755400e618bbb5f09f9b4a63839b /OficinaActivity.py
parentec581e4b333dcdc3b24df13c80adb9c913c669da (diff)
Don't cut the image when rotate SL #3457
When the user rotates the image the Y coordinate have to be 0 so it image is visible from the top of it. Signed-off-by: Manuel Kaufmann <humitos@gmail.com> Acked-by: Manuel Quinones <manuq@laptop.org>
Diffstat (limited to 'OficinaActivity.py')
-rw-r--r--OficinaActivity.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/OficinaActivity.py b/OficinaActivity.py
index a74b7c1..1745d0a 100644
--- a/OficinaActivity.py
+++ b/OficinaActivity.py
@@ -207,7 +207,7 @@ class OficinaActivity(activity.Activity):
def center_area(self):
x, y = self._get_area_displacement()
- self.fixed.move(self.area, x, y)
+ self.fixed.move(self.area, x, 0)
def move_textview(self, dx, dy):
x, y = self._get_area_displacement()