6 - Scripts not setting up
What steps will reproduce the problem?
1. Create a panel
2. set up scripts and click accept
3. reloadui
What is the expected output? What do you see instead?
Scripts should be working (Panel showing if targetFrame is present, else not)
Panel doesn't show at all
What version of the product are you using?
Tested on version 1.1.4, r279, 1.1.3, r275 and 1.1.5
Please provide any additional information below.
Scripts used:
onLoad:
local myPanel = self
local otherPanel = PitBull4_Frames_target
if otherPanel then
otherPanel:SetScript("OnShow",function(frame)
myPanel:Show()
end)
otherPanel:SetScript("OnHide",function(frame)
myPanel:Hide()
end)
end
if otherPanel:IsVisible() then self:Show() else self:Hide() end
Script Dependency:
PitBull Unit Frames 4.0
After setting up scripts and clicking Accept, everything goes well... but after a reload nothing happens if I target someone.
| User | When | Change |
|---|---|---|
| kagaro | Sun, 08 Mar 2009 16:10:03 | Changed status from New to Fixed |
| Ravengus | Sun, 08 Mar 2009 10:45:10 | Changed description:3. reloadui What is the expected output? What do you see instead? - Scripts should be working + Scripts should be working (Panel showing if targetFrame is present, else not) + Panel doesn't show at all What version of the product are you using? Tested on version 1.1.4, r279, 1.1.3, r275 and 1.1.5 |
| Ravengus | Sun, 08 Mar 2009 10:41:35 | Create |
- 1 comment
- 1 comment
- #1
Ravengus Sun, 08 Mar 2009 10:44:04Adding self:SetBackdropColor(1, 1, 1, 1) to onShow doesnt make any difference