Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
RafaelBarbosatec committed Dec 23, 2024
1 parent b3da9e6 commit adb6b5d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/util/extensions/int_int_extensions.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ extension IntIntExtensions on (int, int) {
return (x - other.x).abs() <= 1 && (y - other.y).abs() <= 1;
}

return (x - other.x).abs() <= 1 && y == other.y || x == other.x && (y - other.y).abs() <= 1;
return (x - other.x).abs() <= 1 && y == other.y ||
x == other.x && (y - other.y).abs() <= 1;
}
}

0 comments on commit adb6b5d

Please sign in to comment.