From 73d5438c2f983acae10926d0e58b8225a36dbcc8 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 23 Mar 2021 23:42:17 +0000 Subject: [PATCH] hand: text, fix position Signed-off-by: Ian Jackson --- src/hand.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hand.rs b/src/hand.rs index 4679ed86..f04c7c24 100644 --- a/src/hand.rs +++ b/src/hand.rs @@ -121,8 +121,8 @@ impl PieceTrait for Hand { let y = &mut pos.0[1]; *y += 0.5 * fontsz; match spec.place { - TopLeft => { *y *= -1. }, - BottomLeft => { }, + BottomLeft => { *y *= -1. }, + TopLeft => { } }; *y += 0.5 * fontsz; pos -- 2.30.2