From 10bccb434a41a50299d595a97253af05502c703f Mon Sep 17 00:00:00 2001 From: Manuel Kaufmann Date: Tue, 16 Oct 2012 14:45:15 +0000 Subject: Scale the image through its center Signed-off-by: Manuel Kaufmann Signed-off-by: Agustin Zubiaga --- (limited to 'ImageViewerActivity.py') 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): -- cgit v0.9.1