Commit fad74647 authored by Juku Trump's avatar Juku Trump Committed by Jean-Baptiste Mardelle

Fix crash/corruption resizing image/color clips to 0

parent ae18aeac
......@@ -1425,7 +1425,7 @@ int TimelineModel::requestItemResize(int itemId, int size, bool right, bool logU
Fun temp_undo = []() { return true; };
Fun temp_redo = []() { return true; };
int proposed_size = m_snaps->proposeSize(in, out, size, right, snapDistance);
if (proposed_size >= 0) {
if (proposed_size > 0) {
// only test move if proposed_size is valid
bool success = false;
if (isClip(itemId)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment