Skip to content
  • Ștefan Popa's avatar
    Keyframes for transformation properties. · 900ebc4e
    Ștefan Popa authored and Alexandru Băluț's avatar Alexandru Băluț committed
    Added the possibility to add/remove keyframes on transformation
    properties + visual keyframe curve.
    
    When adding or moving a keyframe, we don't use the matplotlib position
    anymore. Instead, we compute the position the same way we do for the seek
    logic, to make sure the playhead seeks precisely on the added/moved keyframe.
    This change led to some other changes in the unit test which tested the
    keyframe curve. More precisely, we needed to compute the position in pixels
    for the click events, as that is how the seek logic received it.
    
    Differential Revision: https://phabricator.freedesktop.org/D1766
    900ebc4e