Skip to content

Commit

Permalink
mini-board: Add undo button and tap to goto specific move
Browse files Browse the repository at this point in the history
Change-Id: I7f765b3ade4f1b20379d43dbeaf9e691eff34690
  • Loading branch information
calcitem committed Feb 4, 2025
1 parent 1ce543a commit 6625b4c
Show file tree
Hide file tree
Showing 4 changed files with 413 additions and 223 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ class ExtMove extends PgnNodeData {
ExtMove(
this.move, {
this.boardLayout,
this.moveIndex,
super.nags,
super.startingComments,
super.comments,
Expand All @@ -67,6 +68,9 @@ class ExtMove extends PgnNodeData {
/// The board layout after the move.
String? boardLayout;

/// The move index.
int? moveIndex;

static const String _logTag = "[Move]";

/// 'from' square if type==move; otherwise -1.
Expand Down
Loading

0 comments on commit 6625b4c

Please sign in to comment.