Wed, 10 Apr 2024 19:24:39 +0200
fix illegally skipping geometry update of text node
the reason is that the scene will not try again to update the node when it is just unhidden
src/text.c | file | annotate | diff | comparison | revisions |
1.1 --- a/src/text.c Wed Apr 10 19:20:44 2024 +0200 1.2 +++ b/src/text.c Wed Apr 10 19:24:39 2024 +0200 1.3 @@ -55,11 +55,6 @@ 1.4 } 1.5 1.6 static void asc_text_update(AscText *node) { 1.7 - // short circuit if fully transparent or hidden, we don't need anything 1.8 - if (node->color.alpha == 0 || node->hidden) { 1.9 - return; 1.10 - } 1.11 - 1.12 // Generate new texture, if required 1.13 if (asc_texture_uninitialized(&node->tex)) { 1.14 asc_texture_init_rectangle(&node->tex);