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 |
--- a/src/text.c Wed Apr 10 19:20:44 2024 +0200 +++ b/src/text.c Wed Apr 10 19:24:39 2024 +0200 @@ -55,11 +55,6 @@ } static void asc_text_update(AscText *node) { - // short circuit if fully transparent or hidden, we don't need anything - if (node->color.alpha == 0 || node->hidden) { - return; - } - // Generate new texture, if required if (asc_texture_uninitialized(&node->tex)) { asc_texture_init_rectangle(&node->tex);