From 4e0f8c2f35445de5d667bcba3ce047d9d99d0aa0 Mon Sep 17 00:00:00 2001 From: carrascomj Date: Mon, 20 Jan 2025 16:09:05 +0100 Subject: [PATCH] fix: output properly map text to SVG --- src/screenshot.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/screenshot.rs b/src/screenshot.rs index 3f305ad..50e958f 100644 --- a/src/screenshot.rs +++ b/src/screenshot.rs @@ -103,7 +103,7 @@ fn save_svg_file( &Visibility, )>, text_query: Query< - (&Text, &TextFont, &TextColor, &Transform, &Visibility), + (&Text2d, &TextFont, &TextColor, &Transform, &Visibility), (Without, Without, Without), >, // legend part