diff tests/test_font.nim @ 432:2b373a03cf64

did: small refactoring
author Sam <sam@basx.dev>
date Sat, 10 Feb 2024 15:54:25 +0700
parents 740d2f0d1264
children 36b907544820
line wrap: on
line diff
--- a/tests/test_font.nim	Fri Feb 09 20:02:55 2024 +0700
+++ b/tests/test_font.nim	Sat Feb 10 15:54:25 2024 +0700
@@ -22,7 +22,7 @@
 Vertical alignment:
   F4: Top
   F5: Center
-  F6: Bottom""", scale = 0.0002, position = newVec2f(0, 0), horizontalAlignment = Left, verticalAlignment = Top)
+  F6: Bottom""", scale = 0.0002, position = newVec2f(-0.9, -0.9), horizontalAlignment = Left, verticalAlignment = Top)
   scene.add main_text
   scene.add help_text
   engine.loadScene(scene)