From 2a188c3e20a176e78a91d538f1480570d884a608 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 21 Mar 2021 12:32:35 +0000 Subject: [PATCH] clock: Swap x and y It just makes more sense for White to be X. Signed-off-by: Ian Jackson --- src/clock.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/clock.rs b/src/clock.rs index 41b43d6a..5efb4167 100644 --- a/src/clock.rs +++ b/src/clock.rs @@ -61,8 +61,8 @@ impl Spec { // will go from stopped to Y, and then later when it's X's turn // X will get an extra per_move. Y therefore needs per_move too. [ - self.initial_time(), self.initial_time() + self.per_move(), + self.initial_time(), ] } } @@ -449,7 +449,7 @@ impl PieceTrait for Clock { // player missing, nick is red and pink - const Y: &[f32] = &[ 0., 7. ]; + const Y: &[f32] = &[ 7., 0. ]; struct Show { text: &'static str, -- 2.30.2