Thread: Macro Frame
View Single Post
07-18-21, 12:44 AM   #2
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,877
The Macro editing frame is part of a Blizzard addon that is Load On Demeand ie. the MacroFrame isn't created until you type /macro. Running the script or the code in your addon before using /macro will cause an error.

You probably want to listen for the ADDON_LOADED event and if/when "Blizzard_MacroUI" is the addon loaded, then set the scale because the MacroFrame will have been created.
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.
  Reply With Quote