This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Hi, i noticed a "pixel perfect" issue when using this lib, there is a hole of 1px between background and left border as seen with these 2 horrible screenshots (hdr does that with wow)
https://media.discordapp.net/attachments/273144328447197186/1044048604471513088/image.png
https://media.discordapp.net/attachments/273144328447197186/1044049161550577684/image.png
I can fix it by replacing the backdroptemplate of MenuBackdrop for a TooltipBackdropTemplate that use a nineslice template
I replace this
local fmb = _G[name.."MenuBackdrop"] or CreateFrame("Frame", name.."MenuBackdrop", f, BackdropTemplateMixin and "BackdropTemplate" or nil) fmb:SetAllPoints() fmb:SetBackdrop(BACKDROP_TOOLTIP_16_16_5555) fmb:SetBackdropBorderColor(TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b) fmb:SetBackdropColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r, TOOLTIP_DEFAULT_BACKGROUND_COLOR.g, TOOLTIP_DEFAULT_BACKGROUND_COLOR.b)
with
local fmb = _G[name.."MenuBackdrop"] or CreateFrame("Frame", name.."MenuBackdrop", f, "TooltipBackdropTemplate")
fmb:SetAllPoints()
It work on Dragonflight & Classic Era
Thanks for the details, I will look into this.
To post a comment, please login or register a new account.