Mercurial > wow > hansgar_and_franzok_assist
diff Libs/DF/panel.lua @ 13:f635adb94909
- Added west and east sides for dance bar.
- Main panel won't close with escape button.
| author | Tercio |
|---|---|
| date | Tue, 28 Apr 2015 11:21:50 -0300 |
| parents | 2f09fe4be15c |
| children | 0c160948ac5e |
line wrap: on
line diff
--- a/Libs/DF/panel.lua Sat Apr 25 14:13:17 2015 -0300 +++ b/Libs/DF/panel.lua Tue Apr 28 11:21:50 2015 -0300 @@ -1342,12 +1342,12 @@ end end -function DF:Create1PxPanel (parent, w, h, title, name, config, title_anchor) +function DF:Create1PxPanel (parent, w, h, title, name, config, title_anchor, no_special_frame) local f = CreateFrame ("frame", name, parent or UIParent) f:SetSize (w or 100, h or 75) f:SetPoint ("center", UIParent, "center") - if (name) then + if (name and not no_special_frame) then tinsert (UISpecialFrames, name) end
