Skip to content

Commit

Permalink
fix roll dialog bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Chen Asraf committed Jun 27, 2020
1 parent edcc25f commit 802419b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/dialogs/roll_dice_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class _RollDiceDialogState extends State<RollDiceDialog> {
}

num reversedIndex(num idx) {
return diceList.length - idx;
return diceList.length - idx - 1;
}

Iterable<DiceListController> get reversedControllers => controllers.reversed;
Expand Down

0 comments on commit 802419b

Please sign in to comment.