UI is empty
Poisonenvy2 opened this issue ยท 2 comments
Just updated to the latest version .. and suddenly my addon is empty. Got bug:
7x SharedXML/SecureScrollTemplates.lua:191: attempt to index local 'scrollBar' (a nil value)
[string "@SharedXML/SecureScrollTemplates.lua"]:191: in function FauxScrollFrame_Update' [string "@LOIHCal/LOIHCal.lua"]:1229: in function
updateScrollBar'
[string "@LOIHCal/LOIHCalFrame.lua"]:238: in function <LOIHCal/LOIHCalFrame.lua:237>
[string "=[C]"]: in function Show' [string "@LOIHCal/LOIHCal.lua"]:1689: in function
tabSelectedCallback'
[string "@SharedXML/TabSystem/TabSystemTemplates.lua"]:175: in function SetTab' [string "@LOIHCal/LOIHCal.lua"]:1973: in function
?'
[string "@LOIHCal/LOIHCal.lua"]:1756: in function <LOIHCal/LOIHCal.lua:1755>
Locals:
frame = TanksScrollBar {
0 =
ScrollBar = Frame {
}
}
numItems = 0
numToDisplay = 6
buttonHeight = 15
button = nil
smallWidth = nil
bigWidth = nil
highlightFrame = nil
smallHighlightWidth = nil
bigHighlightWidth = nil
alwaysShowScrollBar = nil
scrollBar = nil
scrollChildFrame = nil
scrollUpButton = nil
scrollDownButton = nil
showScrollBar = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "TanksScrollBarScrollBarScrollDownButton"
(*temporary) = "ScrollBarScrollDownButton"
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index local 'scrollBar' (a nil value)"
Pushed out commit a578be9 and tagged it with version 10.1.0.1 that should fix this issue.
Scrolling feels bit different because the new scrollbar moves in smaller steps than the old one and it doesn't always hit the threshold to snap to show next/previous name in the list. I might come back to look this more when I have time, but at least this should be in usable state now.