Skip to content

Commit

Permalink
fix crash
Browse files Browse the repository at this point in the history
  • Loading branch information
oetzlinger committed Jan 3, 2023
1 parent ffec5d3 commit 8cf9e1e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ - (BOOL)collectionView:(UICollectionView*)collectionView itemAtIndexPath:(NSInde
return [self handleMovementToOtherScriptwithIndexPath:toIndexPath fromBrick:fromBrick andObject:object];
}
} else {
return fromIndexPath.section != toIndexPath.section;
return fromIndexPath.section != toIndexPath.section && toIndexPath.item == 0;
}
}

Expand Down

0 comments on commit 8cf9e1e

Please sign in to comment.