summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2022-10-04 08:10:58 -0400
committerAndrew Cady <d@jerkface.net>2022-10-04 08:10:58 -0400
commit86b0a55b2e28dad14990b1ad419e82f92f0873b8 (patch)
tree86aedc4998f68e7c6e6b0dc6fe85d839f3fbd458
parentc21e1ae848dab89bc3da7147d3ab57ef2c8743e5 (diff)
vertical centering
-rwxr-xr-xrepgoal.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/repgoal.hs b/repgoal.hs
index 2170073..480d1e2 100755
--- a/repgoal.hs
+++ b/repgoal.hs
@@ -102,7 +102,7 @@ showRational n = printf format $ (realToFrac :: Rational -> Float) $ n
102drawUI :: () -> [Widget ()] 102drawUI :: () -> [Widget ()]
103drawUI () = [a] 103drawUI () = [a]
104 where 104 where
105 a = hCenter $ renderTable $ table $ 105 a = vCenter $ hCenter $ renderTable $ table $
106 map (padLeftRight 1 . str) ["Lift", "Achieved Best", "Computed 1RM", "Goal Reps", "Goal+1"] : map toRow lifts 106 map (padLeftRight 1 . str) ["Lift", "Achieved Best", "Computed 1RM", "Goal Reps", "Goal+1"] : map toRow lifts
107 toRow x@LiftTarget{..} = 107 toRow x@LiftTarget{..} =
108 let best@Achieved{..} = bestPerformance stats 108 let best@Achieved{..} = bestPerformance stats