Thread Tools Display Modes
Prev Previous Post   Next Post Next
10-06-16, 11:20 PM   #1
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,879
Curious, frame won't hide

The code below is the only code in an addon I started for a test. The texture is a .blp but setting to a non-existant green square makes no difference.

Does anyone have any idea why this one frame is the only UI element that doesn't hide when I Alt-Z? See.

Code:
local button = CreateFrame("Button", "FauxMazzleAssist")
button:SetSize(21, 21)
button:SetPoint("BOTTOMRIGHT", UIParent, "BOTTOMRIGHT", -158, 116)
button.Texture = button:CreateTexture("$parentTexture")
button.Texture:SetAllPoints()
button.Texture:SetTexture("Interface/AddOns/FMAssist/MMBG")
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.

Last edited by Fizzlemizz : 10-06-16 at 11:42 PM.
  Reply With Quote
 

WoWInterface » General Discussion » Tech Chat » Curious, frame won't hide


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off