Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- HIDE/SHOW ZONE & MENU
- MenuButton:SetScript("OnMouseDown", function()
- if not MenuBackground:IsVisible() then
- if not AddOnBackground:IsVisible() then
- SlideIn(MenuBackground)
- end
- else
- SlideOut(MenuBackground)
- end
- if AddOnBackground:IsVisible() then
- SlideOut(AddOnBackground)
- if TukuiCF.datatext.topzone then
- SlideIn(ZoneBackground)
- end
- end
- if MenuBackground:IsVisible() and (TukuiCF.datatext.topzone and ZoneBackground:IsVisible()) then
- SlideOut(ZoneBackground)
- end
- if MenuBackground:IsVisible() and (TukuiCF.datatext.topzone and not ZoneBackground:IsVisible()) then
- SlideIn(ZoneBackground)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement