From 7ac676e621bbc9504c8103b34ae47b9f15cdc639 Mon Sep 17 00:00:00 2001 From: Humza Shahid Date: Sun, 31 Aug 2025 01:00:31 +0100 Subject: [PATCH] add textLineWidth value to text-constants.sml, which we can use to calculate functionality of centering on screen --- fcore/text-constants.sml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fcore/text-constants.sml b/fcore/text-constants.sml index ca4ad79..372b0c3 100644 --- a/fcore/text-constants.sml +++ b/fcore/text-constants.sml @@ -3,6 +3,6 @@ struct val xSpace = 13 val xSpace3 = xSpace * 3 val ySpace = 25 - val fontSize: Real32.real = 30.0 val scale: Real32.real = 2.0 + val textLineWidth = xSpace * 80 end