• 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
..
coptimizations Loading commit data...
dialogs Loading commit data...
timeline Loading commit data...
undo Loading commit data...
utils Loading commit data...
viewer Loading commit data...
__init__.py Loading commit data...
application.py Loading commit data...
autoaligner.py Loading commit data...
check.py Loading commit data...
clipproperties.py Loading commit data...
configure.py.in Loading commit data...
effects.py Loading commit data...
mainwindow.py Loading commit data...
mediafilespreviewer.py Loading commit data...
medialibrary.py Loading commit data...
preset.py Loading commit data...
project.py Loading commit data...
render.py Loading commit data...
settings.py Loading commit data...
shortcuts.py Loading commit data...
tabsmanager.py Loading commit data...
titleeditor.py Loading commit data...
transitions.py Loading commit data...