From d31e3f6ccdbf71fe57b2b3a277e55fff4e0f18c6 Mon Sep 17 00:00:00 2001
Message-Id: <d31e3f6ccdbf71fe57b2b3a277e55fff4e0f18c6.1335816110.git.humitos@gmail.com>
From: Manuel Kaufmann <humitos@gmail.com>
Date: Mon, 30 Apr 2012 16:59:46 -0300
Subject: [PATCH Paint] 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>
---
OficinaActivity.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/OficinaActivity.py b/OficinaActivity.py
index a74b7c1..1745d0a 100644
a
|
b
|
class OficinaActivity(activity.Activity): |
207 | 207 | |
208 | 208 | def center_area(self): |
209 | 209 | x, y = self._get_area_displacement() |
210 | | self.fixed.move(self.area, x, y) |
| 210 | self.fixed.move(self.area, x, 0) |
211 | 211 | |
212 | 212 | def move_textview(self, dx, dy): |
213 | 213 | x, y = self._get_area_displacement() |