Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Maw Walker
VuhDo
Commits
dcb7be41
Commit
dcb7be41
authored
8 years ago
by
Ivaria
Browse files
Options
Download
Email Patches
Plain Diff
Blizzard fixed the font drop shadows on their end finally
parent
75c71935
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
VuhDoGuiToolbox.lua
VuhDoGuiToolbox.lua
+1
-3
VuhDoOptions/VuhDoLookAndFeelStandardFont.lua
VuhDoOptions/VuhDoLookAndFeelStandardFont.lua
+1
-3
No files found.
VuhDoGuiToolbox.lua
View file @
dcb7be41
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
VuhDoOptions/VuhDoLookAndFeelStandardFont.lua
View file @
dcb7be41
...
...
@@ -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"
]));
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment