Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/ImageViewerActivity.py
diff options
context:
space:
mode:
authorManuel Kaufmann <humitos@gmail.com>2012-10-16 14:45:15 (GMT)
committer Agustin Zubiaga <aguz@sugarlabs.org>2012-10-16 21:39:32 (GMT)
commit10bccb434a41a50299d595a97253af05502c703f (patch)
tree3c0730f161245b748df55e1bb1503ba5226aa812 /ImageViewerActivity.py
parent8053af848858cb0727401e7abbc12db0991a2b36 (diff)
Scale the image through its center
Signed-off-by: Manuel Kaufmann <humitos@gmail.com> Signed-off-by: Agustin Zubiaga <aguz@sugarlabs.org>
Diffstat (limited to 'ImageViewerActivity.py')
-rw-r--r--ImageViewerActivity.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ImageViewerActivity.py b/ImageViewerActivity.py
index 2cfe88b..f17d4cf 100644
--- a/ImageViewerActivity.py
+++ b/ImageViewerActivity.py
@@ -213,6 +213,7 @@ class ImageViewerActivity(activity.Activity):
self._last_scale = scale
logging.error('Scale changed %f', scale)
+ self.view._is_touching = True
self.view.set_zoom_relative(scale)
def handle_view_source(self):