From: Ian Jackson Date: Sun, 21 Mar 2021 12:32:35 +0000 (+0000) Subject: clock: Swap x and y X-Git-Tag: otter-0.5.0~561 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=2a188c3e20a176e78a91d538f1480570d884a608;p=otter.git clock: Swap x and y It just makes more sense for White to be X. Signed-off-by: Ian Jackson --- 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,