From: Ian Jackson Date: Tue, 23 Mar 2021 23:42:17 +0000 (+0000) Subject: hand: text, fix position X-Git-Tag: otter-0.5.0~486 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=73d5438c2f983acae10926d0e58b8225a36dbcc8;p=otter.git hand: text, fix position Signed-off-by: Ian Jackson --- 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