From dc74339da7050f54d6bb5e87469b2023b932c1d7 Mon Sep 17 00:00:00 2001 From: Manuel QuiƱones Date: Wed, 15 May 2013 03:18:05 +0000 Subject: Don't change zoom after or before going fullscreen --- diff --git a/ImageViewerActivity.py b/ImageViewerActivity.py index b45e36c..4e4f237 100644 --- a/ImageViewerActivity.py +++ b/ImageViewerActivity.py @@ -209,14 +209,6 @@ class ImageViewerActivity(activity.Activity): self.view._touch_center = controller.get_center() self.view.set_zoom_relative(scale) - def fullscreen(self): - self.view.update_optimal_zoom() - activity.Activity.fullscreen(self) - - def unfullscreen(self): - activity.Activity.unfullscreen(self) - self.view.update_optimal_zoom() - def _add_toolbar_buttons(self, toolbar_box): activity_button = ActivityToolbarButton(self) toolbar_box.toolbar.insert(activity_button, 0) -- cgit v0.9.1