The Lua code I posted is a direct conversion of the XML code in your previous post.
Originally Posted by Zireko
the mini map and chat window sometime fall behind my image that I'm using. I'm using <Layer level="BACKGROUND"> which I thought was the furthest background you can get but for some reasone when I move the mini map or chat system around my addon is layred infront of it and not in the deepst background.
|
You may want to read the Wowpedia page about
layers. Draw layers only affect the relative layering of the regions attached to the same parent frame -- they don't affect whether one frame is drawn in front of or behind other frames. To change that, you need to change the
strata of the frame itself.