[pitivi] timeline: Allow moving clips back to exact previous position
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] timeline: Allow moving clips back to exact previous position
- Date: Mon, 28 Sep 2015 21:05:30 +0000 (UTC)
commit ad1351b880fd92517d98a443b1834b1519d96cc8
Author: Thibault Saunier <tsaunier gnome org>
Date: Mon Sep 28 23:05:21 2015 +0200
timeline: Allow moving clips back to exact previous position
pitivi/timeline/timeline.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/timeline/timeline.py b/pitivi/timeline/timeline.py
index 1d5f350..7d471e3 100644
--- a/pitivi/timeline/timeline.py
+++ b/pitivi/timeline/timeline.py
@@ -610,7 +610,7 @@ class Timeline(Gtk.EventBox, Zoomable, Loggable):
self.dragEnd()
return False
- if self.__drag_start_x != event.x:
+ if self.got_dragged or self.__drag_start_x != event.x:
self.__dragUpdate(self.get_event_widget(event), event.x, event.y)
self.got_dragged = True
elif self.__moving_layer:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]