fix: blizzard ui texture
This commit is contained in:
+3
-1
@@ -132,9 +132,11 @@ local function HideNineSlice(frame)
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- Apply or hide a TGA background texture (for themes where bgFile TGA doesn't work with SetBackdrop)
|
-- Apply or hide a TGA background texture (for themes where bgFile TGA doesn't work with SetBackdrop)
|
||||||
|
-- Uses ARTWORK layer so it always renders above the backdrop's BACKGROUND fill,
|
||||||
|
-- preventing the intermittent z-order issue where both share the same BACKGROUND layer.
|
||||||
local function ApplyBgTexture(frame, texturePath, alpha)
|
local function ApplyBgTexture(frame, texturePath, alpha)
|
||||||
if not frame._gudaBgTex then
|
if not frame._gudaBgTex then
|
||||||
frame._gudaBgTex = frame:CreateTexture(nil, "BACKGROUND")
|
frame._gudaBgTex = frame:CreateTexture(nil, "ARTWORK")
|
||||||
end
|
end
|
||||||
local tex = frame._gudaBgTex
|
local tex = frame._gudaBgTex
|
||||||
tex:ClearAllPoints()
|
tex:ClearAllPoints()
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
## Title: Guda
|
## Title: Guda
|
||||||
## Notes: All-in-one bag and bank addon for World of Warcraft 1.12.1 (Turtle WoW)
|
## Notes: All-in-one bag and bank addon for World of Warcraft 1.12.1 (Turtle WoW)
|
||||||
## Author: Vati
|
## Author: Vati
|
||||||
## Version: 2.0.3
|
## Version: 2.0.4
|
||||||
## SavedVariables: Guda_DB
|
## SavedVariables: Guda_DB
|
||||||
## SavedVariablesPerCharacter: Guda_CharDB
|
## SavedVariablesPerCharacter: Guda_CharDB
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user