• Aswin Mohan's avatar
    elements: Update tooltip with ts of dragged keyframe · 33c428ab
    Aswin Mohan authored
    When a Keyframe is Dragged beyond another keyframe, the tooltip updates
    showing the timestamp of the hovered event.
    
    The problem is that when a keyframe is clicked, and dragged the tooltip
    is updated with the timestamp of the hovering mouse. The problem rests
    with the __update_tooltip() method which updates the tooltip with the
    value of the hovered event, rather than the dragged event.
    
    To fix this, we check if the keyframe is clicked, when the
    __update_tooltip() method is called, if it is clicked then we set the
    tooltip to show offset of the keyframe, which does not update after it
    has reached another keyframe.
    
    Fixes T7717
    
    Differential Revision: https://phabricator.freedesktop.org/D1695
    33c428ab
Name
Last commit
Last update
bin Loading commit data...
build/flatpak Loading commit data...
data Loading commit data...
docs Loading commit data...
help Loading commit data...
pitivi Loading commit data...
po Loading commit data...
subprojects Loading commit data...
tests Loading commit data...
win32 Loading commit data...
.arcconfig Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.pre-commit-config.yaml Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
MAINTAINERS Loading commit data...
NEWS Loading commit data...
README Loading commit data...
RELEASE Loading commit data...
configure Loading commit data...
getenvvar.py Loading commit data...
intltool-extract.in Loading commit data...
intltool-merge.in Loading commit data...
intltool-update.in Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...
pitivi.doap Loading commit data...
pitivi.xml Loading commit data...
pre-commit.hook Loading commit data...