diff --git a/VuhDoGuiToolbox.lua b/VuhDoGuiToolbox.lua index bff5146e264e8684e0e0911d0da24ede7903a30e..56404d9d074ae5f0502f4fa4ac87dc6e6565fa52 100644 --- a/VuhDoGuiToolbox.lua +++ b/VuhDoGuiToolbox.lua @@ -746,7 +746,11 @@ function VUHDO_customizeIconText(aParent, aHeight, aLabel, aSetup) end aLabel:SetFont(aSetup["FONT"], tFactor * aSetup["SCALE"], tOutline); - aLabel:SetShadowOffset(1, -1); + + -- 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:SetText(""); end diff --git a/VuhDoOptions/VuhDoLookAndFeelStandardFont.lua b/VuhDoOptions/VuhDoLookAndFeelStandardFont.lua index 8831da8bdbc4171f962effd3031ea1278234b9a4..ccce5ce7fbc3fb70ee94ff44594963c2d10a4fe3 100644 --- a/VuhDoOptions/VuhDoLookAndFeelStandardFont.lua +++ b/VuhDoOptions/VuhDoLookAndFeelStandardFont.lua @@ -122,7 +122,10 @@ function VUHDO_lnfStandardFontUpdateDemoText() else tLabel:SetShadowColor(0, 0, 0, tShadowAlpha); end - tLabel:SetShadowOffset(1, -1); + + -- 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); if (sTable["COLOR"] ~= nil) then tLabel:SetTextColor(VUHDO_textColor(sTable["COLOR"])); diff --git a/changelog.txt b/changelog.txt index fc055cc672d7a2397aca944677a2212115f11e73..9a59070e06b3721cb17c7fda67c2410bf2abc571 100644 --- a/changelog.txt +++ b/changelog.txt @@ -16,6 +16,9 @@ Known issues: Bugfixes: -- Fixed handling of empty values in health related combat log events -- Disabled retrieval of unit facing and map position inside instances +-- Fixed font dropshadow offset which Blizzard broke in 7.1 +-- Shadow offset is not scaling properly with resolution +-- Hardcoded the offset to be optimal for 1920x1080 for now --------------------------------------------------------------