From e7681436cd20066ece3cbe989a32983c434219c4 Mon Sep 17 00:00:00 2001 From: shagu Date: Mon, 16 Mar 2020 16:15:30 +0100 Subject: [PATCH] ui-widgets: adjust statusbar z-axis positions --- api/ui-widgets.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/ui-widgets.lua b/api/ui-widgets.lua index 5b3cdfdd..c10333d5 100644 --- a/api/ui-widgets.lua +++ b/api/ui-widgets.lua @@ -82,11 +82,11 @@ do -- statusbars local f = CreateFrame("Button", name, parent) f:EnableMouse(nil) - f.bar = f:CreateTexture(nil, "NORMAL") + f.bar = f:CreateTexture(nil, "OVERLAY") f.bar:SetPoint("TOPLEFT", f, "TOPLEFT", 0, 0) f.bar:SetPoint("BOTTOMRIGHT", f, "BOTTOMRIGHT", 0, 0) - f.bg = f:CreateTexture(nil, "NORMAL") + f.bg = f:CreateTexture(nil, "BACKGROUND") f.bg:SetPoint("TOPLEFT", f, "TOPLEFT", 0, 0) f.bg:SetPoint("BOTTOMRIGHT", f, "BOTTOMRIGHT", 0, 0)