From 834199ad9cf8fbea0f364b401be5c0312f5009fe Mon Sep 17 00:00:00 2001 From: Justin Pridgen Date: Fri, 16 Aug 2024 20:11:40 -0400 Subject: [PATCH] i think that's it for now --- loader/src/ui/nodes/MDTextArea.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/loader/src/ui/nodes/MDTextArea.cpp b/loader/src/ui/nodes/MDTextArea.cpp index 226486f1..20a3b97f 100644 --- a/loader/src/ui/nodes/MDTextArea.cpp +++ b/loader/src/ui/nodes/MDTextArea.cpp @@ -372,13 +372,13 @@ struct MDParser { if (spr && spr->getUserObject("geode.texture-loader/fallback") == nullptr) { spr->setScale(spriteScale); if (spriteWidth > 0.0f && spriteHeight <= 0.0f) { - limitNodeWidth(spr, spriteWidth, spriteScale, 0.1f); + limitNodeWidth(spr, spriteWidth, 999.f, .1f); } else if (spriteHeight > 0.0f && spriteWidth <= 0.0f) { - limitNodeHeight(spr, spriteHeight, spriteScale, 0.1f); + limitNodeHeight(spr, spriteHeight, 999.f, .1f); } else if (spriteWidth > 0.0f && spriteHeight > 0.0f) { - limitNodeSize(spr, { spriteWidth, spriteHeight }, spriteScale, 0.1f); + limitNodeSize(spr, { spriteWidth, spriteHeight }, 999.f, .1f); } renderer->renderNode(spr); }