# HG changeset patch # User Mike Becker # Date 1769950687 -3600 # Node ID c0d3a1acc6ae5460e0b63d205e92b0ee14bcb4cf # Parent fa91e2e06eeed5a0ce55db13f1e6a07bc3444303 add TODO for improving alignment of text nodes diff -r fa91e2e06eee -r c0d3a1acc6ae demo/snake/snake.c --- a/demo/snake/snake.c Sun Feb 01 13:52:50 2026 +0100 +++ b/demo/snake/snake.c Sun Feb 01 13:58:07 2026 +0100 @@ -190,6 +190,8 @@ // TODO: this should be replaced with some sort of UI layout manager AscSceneNode *node = behavior->node; if (asc_test_flag(node->flags, ASC_SCENE_NODE_GRAPHICS_UPDATED) || asc_active_window->resized) { + // TODO: this is visually wrong for one frame + // instead there should be alignment settings with which we can control if (0,0) is in top left or bottom left corner asc_scene_node_set_position2f(node, ASC_VEC2F(10, asc_active_window->rect.size.height - ((AscText*)node)->dimension.height - 10 ));