From 09adbb97a960b5bb23bb9c03a609194feead8ec8 Mon Sep 17 00:00:00 2001 From: Vati Date: Mon, 2 Mar 2026 15:24:58 +0400 Subject: [PATCH] fix: blizzard ui texture --- Core/Theme.lua | 4 +++- Guda.toc | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Core/Theme.lua b/Core/Theme.lua index 2fb2b65..5b52b1d 100644 --- a/Core/Theme.lua +++ b/Core/Theme.lua @@ -132,9 +132,11 @@ local function HideNineSlice(frame) end -- 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) if not frame._gudaBgTex then - frame._gudaBgTex = frame:CreateTexture(nil, "BACKGROUND") + frame._gudaBgTex = frame:CreateTexture(nil, "ARTWORK") end local tex = frame._gudaBgTex tex:ClearAllPoints() diff --git a/Guda.toc b/Guda.toc index c8335b0..3cab5a6 100644 --- a/Guda.toc +++ b/Guda.toc @@ -2,7 +2,7 @@ ## Title: Guda ## Notes: All-in-one bag and bank addon for World of Warcraft 1.12.1 (Turtle WoW) ## Author: Vati -## Version: 2.0.3 +## Version: 2.0.4 ## SavedVariables: Guda_DB ## SavedVariablesPerCharacter: Guda_CharDB