diff tests/test_panel.nim @ 431:e13b75bff00c

intermediate commit :P
author Sam <sam@basx.dev>
date Fri, 09 Feb 2024 20:02:55 +0700
parents c5999345f42c
children 08b8facaf3b7
line wrap: on
line diff
--- a/tests/test_panel.nim	Mon Feb 05 23:11:22 2024 +0700
+++ b/tests/test_panel.nim	Fri Feb 09 20:02:55 2024 +0700
@@ -10,7 +10,7 @@
 
   # build scene
   var scene = Scene(name: "main")
-  var panel = initPanel(position: newVec2f(0, 0), size: newVec2f(0.1, 0.1))
+  var panel = Panel(position: newVec2f(0, 0), size: newVec2f(0.1, 0.1))
 
   scene.add panel
   engine.loadScene(scene)