From dcb7be418082cbd0c7beca6e75bbe645cb7a7413 Mon Sep 17 00:00:00 2001 From: Ivaria <ivaria@vuhdo.io> Date: Mon, 7 Nov 2016 08:23:46 +0000 Subject: [PATCH] Blizzard fixed the font drop shadows on their end finally --- VuhDoGuiToolbox.lua | 4 +--- VuhDoOptions/VuhDoLookAndFeelStandardFont.lua | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/VuhDoGuiToolbox.lua b/VuhDoGuiToolbox.lua index 56404d9..d032822 100644 --- a/VuhDoGuiToolbox.lua +++ b/VuhDoGuiToolbox.lua @@ -747,9 +747,7 @@ function VUHDO_customizeIconText(aParent, aHeight, aLabel, aSetup) aLabel:SetFont(aSetup["FONT"], tFactor * aSetup["SCALE"], tOutline); - -- patch 7.1 introduced a bug with shadow offset scaling by resolution - -- hardcode the offset to -3 for now which should be the equiv of -1 @ 1920x1080 - aLabel:SetShadowOffset(1, -3); + aLabel:SetShadowOffset(1, -1); aLabel:SetText(""); end diff --git a/VuhDoOptions/VuhDoLookAndFeelStandardFont.lua b/VuhDoOptions/VuhDoLookAndFeelStandardFont.lua index ccce5ce..404e8c9 100644 --- a/VuhDoOptions/VuhDoLookAndFeelStandardFont.lua +++ b/VuhDoOptions/VuhDoLookAndFeelStandardFont.lua @@ -123,9 +123,7 @@ function VUHDO_lnfStandardFontUpdateDemoText() tLabel:SetShadowColor(0, 0, 0, tShadowAlpha); end - -- patch 7.1 introduced a bug with shadow offset scaling by resolution - -- hardcode the offset to -3 for now which should be the equiv of -1 @ 1920x1080 - tLabel:SetShadowOffset(1, -3); + tLabel:SetShadowOffset(1, -1); if (sTable["COLOR"] ~= nil) then tLabel:SetTextColor(VUHDO_textColor(sTable["COLOR"])); -- GitLab