mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
timeline: fix incorrect position after scrolling using the timeline
Apparently events are dropped internally, so the last position after you stop dragging can be off.
This commit is contained in:
parent
8e2000a3e2
commit
b3960cf8e0
1 changed files with 1 additions and 2 deletions
|
@ -836,8 +836,7 @@ class TimelineWidget (gtk.DrawingArea):
|
|||
|
||||
def do_motion_notify_event (self, event):
|
||||
|
||||
x = event.x
|
||||
y = event.y
|
||||
x, y, mod = self.window.get_pointer ()
|
||||
|
||||
if event.state & gtk.gdk.BUTTON1_MASK:
|
||||
self.emit ("change-position", int (x))
|
||||
|
|
Loading…
Reference in a new issue