View Single Post
12-31-20, 02:54 PM   #2
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,877
In your code, Icon is a Button (SetNormalTexture). In Blizzards, it's a texture. With your button you could probably:
Code:
local IconTexture = Icon:GetNormalTexture()
IconTexture:SetAtlas(...)
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.
  Reply With Quote