Skip to content

Commit

Permalink
Fix copyCrop for animated images
Browse files Browse the repository at this point in the history
  • Loading branch information
brendan-duncan committed Oct 30, 2024
1 parent 643cfbb commit c4d37bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/transform/copy_crop.dart
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Image copyCrop(Image src,
final c4x = x1 + rad - 1;
final c4y = y2 - rad + 1;

final iter = src.getRange(x1, y1, width, height);
final iter = frame.getRange(x1, y1, width, height);
while (iter.moveNext()) {
final p = iter.current;
final px = p.x;
Expand Down

0 comments on commit c4d37bd

Please sign in to comment.