This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
UGLY FAT SHADOWS :(
As an outline already adds a black 1px border around the font (or 3px when using thickoutline), extra shadows are ugly. I would like it to automagically hide the shadow (:SetShadowOffset(0,0) and :SetShadowColor(0,0,0,0)) on the bars.
any
not relevant (there are no errors)
I made some edits to libspecialisedbars at around line 1153:
function barPrototype:SetFont(newFont, newSize, newFlags) local t, font, size, flags t = self.label font, size, flags = t:GetFont() t:SetFont(newFont or font, newSize or size, newFlags or flags) if (newFlags or flags):lower():find('outline') then t:SetShadowColor(0, 0, 0, 0) t:SetShadowOffset(0, 0) else t:SetShadowColor(0, 0, 0, 1) t:SetShadowOffset(1, -1) end t = self.timerLabel font, size, flags = t:GetFont() t:SetFont(newFont or font, newSize or size, newFlags or flags) if (newFlags or flags):lower():find('outline') then t:SetShadowColor(0, 0, 0, 0) t:SetShadowOffset(0, 0) else t:SetShadowColor(0, 0, 0, 1) t:SetShadowOffset(1, -1) end end
I'm not sure if I need to add to other places atm but this seems to give a much cleaner font look.
To post a comment, please login or register a new account.