diff semiconginev2/text/textbox.nim @ 1240:42eeb59f3a43

add: more tests, line and point rendering
author sam <sam@basx.dev>
date Mon, 22 Jul 2024 12:42:35 +0700
parents 69489a678141
children
line wrap: on
line diff
--- a/semiconginev2/text/textbox.nim	Mon Jul 22 00:46:10 2024 +0700
+++ b/semiconginev2/text/textbox.nim	Mon Jul 22 12:42:35 2024 +0700
@@ -47,7 +47,7 @@
     of Top: 0'f32
     of Center: -height / 2
     of Bottom: -height
-  ) - textbox.font.capHeight
+  ) + textbox.font.capHeight
 
   var
     offsetX = 0'f32