From 901914bdede9eefdd08a2e69128d9bcc46bbce0c Mon Sep 17 00:00:00 2001 From: Thibault Duplessis Date: Wed, 20 Dec 2023 14:02:39 +0100 Subject: [PATCH] move puzzle ctrl fields --- ui/puzzle/src/ctrl.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/puzzle/src/ctrl.ts b/ui/puzzle/src/ctrl.ts index ae1ace5f09bb2..0c029d7a5b32a 100644 --- a/ui/puzzle/src/ctrl.ts +++ b/ui/puzzle/src/ctrl.ts @@ -54,14 +54,14 @@ export default class PuzzleCtrl implements ParentCtrl { node: Tree.Node; nodeList: Tree.Node[]; mainline: Tree.Node[]; + initialPath: Tree.Path; + initialNode: Tree.Node; pov: Color; mode: 'play' | 'view' | 'try'; round?: PuzzleRound; justPlayed?: Key; resultSent: boolean; lastFeedback: 'init' | 'fail' | 'win' | 'good' | 'retry'; - initialPath: Tree.Path; - initialNode: Tree.Node; canViewSolution = toggle(false); autoScrollRequested: boolean; autoScrollNow: boolean;