[pitivi] trackobject: clear y mousedown coordinate so veritcal mostion is more natural



commit 35a13f845e9bf7f6312845d1c7c4f226eac2c7e9
Author: Brandon Lewis <brandon_lewis berkeley edu>
Date:   Sun Mar 15 14:35:02 2009 -0700

    trackobject: clear y mousedown coordinate so veritcal mostion is more natural
---
 pitivi/ui/trackobject.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/pitivi/ui/trackobject.py b/pitivi/ui/trackobject.py
index 47ed9f6..5a6cef5 100644
--- a/pitivi/ui/trackobject.py
+++ b/pitivi/ui/trackobject.py
@@ -110,6 +110,7 @@ class TrackObject(View, goocanvas.Group, Zoomable):
             self._view.raise_(None)
             tx = self._view.props.parent.get_transform()
             self._y_offset = tx[5]
+            self._mousedown = Point(self._mousedown[0], 0)
 
         def click(self, pos):
             mode = 0



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]