modify 'TextBuilder.initEnv' function to take 'startX' and 'startY' parameters, instead of hardcoding the startX/Y inside the function, and change width/height calculations to take these parameters into account

This commit is contained in:
2025-09-14 08:24:37 +01:00
parent 2ab48626cd
commit 120568a18d
2 changed files with 63 additions and 65 deletions

View File

@@ -35,7 +35,9 @@ struct
if searchPos = ~1 then Vector.length searchList else searchPos
val env = Utils.initEnv
( windowWidth
( 5
, 5
, windowWidth
, windowHeight
, floatWindowWidth
, floatWindowHeight