[pitivi] timeline: Scroll to playhead when the zoom changes
- From: Jean-François Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] timeline: Scroll to playhead when the zoom changes
- Date: Thu, 9 Oct 2014 02:06:45 +0000 (UTC)
commit c5a28e958dc55074eef61653d62d5da571ae4c2f
Author: Alexandru Băluț <alexandru balut gmail com>
Date: Wed Oct 1 20:05:29 2014 +0200
timeline: Scroll to playhead when the zoom changes
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=734064
pitivi/utils/widgets.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/utils/widgets.py b/pitivi/utils/widgets.py
index 7ef7d39..63f983c 100644
--- a/pitivi/utils/widgets.py
+++ b/pitivi/utils/widgets.py
@@ -1030,6 +1030,7 @@ class ZoomBox(Gtk.Grid, Zoomable):
def _zoomAdjustmentChangedCb(self, adjustment):
Zoomable.setZoomLevel(adjustment.get_value())
+ self.timeline._scrollToPlayhead()
def _zoomFitCb(self, unused_button):
self.timeline.zoomFit()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]