From 46aa9b218c1e97f7101e0560c95430893b25a9c3 Mon Sep 17 00:00:00 2001 From: Oleksandr Rogozin Date: Wed, 25 Sep 2024 14:00:06 +0300 Subject: [PATCH] Change SetJustifyV("CENTER") argument to "MIDDLE". Patch 10.2.7/API changes: https://warcraft.wiki.gg/wiki/Patch_10.2.7/API_changes --- .gitignore | 3 +++ AtlasLootClassic/Button/Faction_type.lua | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index d7222a40..da33f12a 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,6 @@ data.lua # from @Blackwidow-sudo make.sh DevBuild + +# Visual Studio +/.vs \ No newline at end of file diff --git a/AtlasLootClassic/Button/Faction_type.lua b/AtlasLootClassic/Button/Faction_type.lua index e8d469d7..f6e891ac 100644 --- a/AtlasLootClassic/Button/Faction_type.lua +++ b/AtlasLootClassic/Button/Faction_type.lua @@ -339,7 +339,7 @@ function Faction.ShowToolTipFrame(button) frame.standing.text:SetPoint("TOPLEFT", 3, -3) frame.standing.text:SetPoint("BOTTOMRIGHT", -4, 3) frame.standing.text:SetJustifyH("CENTER") - frame.standing.text:SetJustifyV("CENTER") + frame.standing.text:SetJustifyV("MIDDLE") frame.standing.text:SetTextColor(1, 1, 1, 1) frame.desc = frame:CreateFontString(name.."-desc", "ARTWORK", "GameFontNormalSmall")