[Beta] Toolki API added on UI_SCALE_CHANGED
First, thanks for keeping tukui up!
I have a slight problem, I want to use CreateBackdrop
as a substitute for SetTemplate
. But the API metatable is only added on UI_SCALE_CHANGED
, which means that I can't use that at loading time, even though my addon(s) load after Tukui. I could create all backdrops later by hooking into Toolkit:Enable
, but that's a tad cumbersome, and doesn't feel right.
Could you enable the API earlier on? Say, at loading time? As far as I can tell, loading twice doesn't hurt either, so you might just add Tookit:Enable()
to Toolkit.lua
.