How to prevent automated HideUIPanel()?
While at a vendor, clicking a profession in the SpellBookFrame (thus opening TradeSkillFrame) automatically closes the SpellBookFrame with a call of HideUIPanel().
I would like to suppress this automatic closing. So I tried to find the responsible code in BlizzardInterfaceCode, but to no avail. All I know is that when I use MoveAnything on the SpellBookFrame, it stays open. But I was not able to identify which part of MoveAnything is the cause for this. Does anybody have an idea? I do not want to taint HideUIPanel()! Thanks! |
Most of these are registered as UIPanelWindows and are handled in UIParent.lua. If you remove a frame's entry in this table, it will no longer have this special handling.
|
Thanks a lot! Exactly what I was looking for!:)
|
A follow-up question, if I may:
When I do Code:
UIPanelWindows["SpellBookFrame"] = nil Any idea how to achieve this? |
I just discovered by accident that
Code:
collectgarbage("collect") Can anybody explain to me why this is so? |
My first guess would be something to do with taint. Still not 100% on the specifics though.
|
All times are GMT -6. The time now is 12:48 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI