Alright, you probably need to move the :IsProtected() check further up the food chain. Find where the .GetAnchoredTo function is called, and trace it back to the first place it tries to do anything with a frame, and stop it from doing that if the frame is protected. You can't really break anything by adding more :IsProtected() checks in more places.
Or, just use MoveAnything... I can't imagine there can be that many frames in the default UI it can't handle, and any addon that provides a GUI should also provide some function for moving it.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
|