Fix snapping of item start on resize

parent 9c91ad7a
......@@ -121,7 +121,7 @@ int SnapModel::proposeSize(int in, int out, int size, bool right, int maxSnapDis
int target_pos = out + 1 - size;
int snapped_pos = getClosestPoint(target_pos);
if (snapped_pos != -1 && qAbs(target_pos - snapped_pos) <= maxSnapDist) {
proposed_size = out + 2 - snapped_pos;
proposed_size = out - snapped_pos;
}
}
unIgnore();
......
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