From e4fc96a2d81a00ff0d7fe736e90200eefc468753 Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Sun, 24 Mar 2024 21:01:30 +0100 Subject: [PATCH] :3 --- hui/Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hui/Cargo.toml b/hui/Cargo.toml index 41eb7d5..990e21c 100644 --- a/hui/Cargo.toml +++ b/hui/Cargo.toml @@ -40,8 +40,10 @@ builtin_font = [] ## Round all vertex positions to nearest integer coordinates (not recommended) pixel_perfect = ["pixel_perfect_text"] + ## Apply pixel-perfect rendering hack to text (fixes blurry text rendering) pixel_perfect_text = [] + #! Make sure to disable both features if you are not rendering UI "as-is" at 1:1 scale\ #! For exmaple, you should disable them if using DPI (or any other form of) scaling while passing the virtual resolution to the ui or rendering it in 3d space