From 5cfd21e9ab1e2a301d2ad62c0786915eec10dd8b Mon Sep 17 00:00:00 2001 From: Andrei Kortunov Date: Tue, 8 Aug 2023 09:48:40 +0400 Subject: [PATCH] Do not place deprecated MyGUI property dynamically --- components/fontloader/fontloader.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/components/fontloader/fontloader.cpp b/components/fontloader/fontloader.cpp index 5a94e1aeed..9434578220 100644 --- a/components/fontloader/fontloader.cpp +++ b/components/fontloader/fontloader.cpp @@ -616,15 +616,6 @@ namespace Gui { std::string type = resourceNode->findAttribute("type"); - if (Misc::StringUtils::ciEqual(type, "ResourceSkin") - || Misc::StringUtils::ciEqual(type, "AutoSizedResourceSkin")) - { - - MyGUI::xml::ElementPtr heightNode = resourceNode->createChild("Property"); - heightNode->addAttribute("key", "HeightLine"); - heightNode->addAttribute("value", std::to_string(Settings::gui().mFontSize + 2)); - } - if (Misc::StringUtils::ciEqual(type, "ResourceLayout")) { MyGUI::xml::ElementEnumerator resourceRootNode = resourceNode->getElementEnumerator();