Commit 1ac588a3 authored by Ivaria's avatar Ivaria
Browse files

Fixed font dropshadow offset which Blizzard broke in 7.1. Shadow offset is not...

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.
parent 0c50833e
......@@ -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
......
......@@ -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"]));
......
......@@ -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
--------------------------------------------------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment