]> git.sesse.net Git - kdenlive/blobdiff - src/transition.h
Correctly refresh transition widget when resizing a transition, move last keyframe...
[kdenlive] / src / transition.h
index a26f19d17511b55e6a03f551cfb52fe7b914f588..b0d43081937106c436440e714f41b4798caba413 100644 (file)
@@ -76,8 +76,10 @@ public:
     void setAutomatic(bool automatic);
     bool hasGeometry();
     int defaultZValue() const;
-    /** @brief When a transition is resized, check if keyframes are out of the transition and fix if necessary. */
-    bool updateKeyframes();
+    /** @brief When a transition is resized, check if keyframes are out of the transition and fix if necessary. 
+     * @param oldEnd the previous transition end, so that when we expand the transition, if there is a keyframe at end we move it
+     */
+    bool updateKeyframes(int oldEnd);
 
 protected:
     virtual QVariant itemChange(GraphicsItemChange change, const QVariant &value);