]> git.sesse.net Git - kdenlive/blobdiff - src/customtrackview.h
Fix timeline corruption when pressing and releasing ctrl during a group resize.
[kdenlive] / src / customtrackview.h
index c437b0731cb2f55632becd53c51a452583ff1bf6..fdfdc798c0053c119a600510d54228d4672e2c48 100644 (file)
@@ -333,6 +333,10 @@ private:
     QMutex m_mutex;
     QWaitCondition m_producerNotReady;
 
+    /** stores the state of the control modifier during mouse press.
+     * Will then be used to identify whether we resize a group or only one item of it. */
+    bool m_controlModifier;
+
     /** Get the index of the video track that is just below current track */
     int getPreviousVideoTrack(int track);
     void updatePositionEffects(ClipItem * item, ItemInfo info);