LiteBag

271k Downloads

[9.0 Beta] Error when resizing bag or bank

amiyuy opened this issue ยท 1 comments

commented

Using version 9.0.0.alpha2 on the Beta

Use resizing icon on either bag or bank results in this error.

Message: Interface\AddOns\LiteBag\Panel.lua:280: 'for' initial value must be a number
Time: Fri Sep 25 18:16:11 2020
Count: 30
Stack: Interface\AddOns\LiteBag\Panel.lua:280: 'for' initial value must be a number
[string "@Interface\AddOns\LiteBag\Panel.lua"]:280: in function `LiteBagPanel_ResizeToFrame'
[string "@Interface\AddOns\LiteBag\Frame.lua"]:77: in function <Interface\AddOns\LiteBag\Frame.lua:73>

Locals: self = LiteBagInventoryPanel {
 0 = <userdata>
 bagButtons = <table> {
 }
 itemButtons = <table> {
 }
 bagFrames = <table> {
 }
 isBackpack = true
 canResize = true
 size = 140
}
width = 359.999908
height = 775.667053
layout = "default"
ncols = 8
currentCols = nil
(for index) = nil
(for limit) = 8
(for step) = -1
(*temporary) = nil
(*temporary) = <table> {
}
(*temporary) = "LiteBagInventoryPanel"
(*temporary) = nil
(*temporary) = nil
(*temporary) = "'for' initial value must be a number"
LAYOUTS = <table> {
 bag = <function> defined @Interface\AddOns\LiteBag\Panel.lua:185
 default = <function> defined @Interface\AddOns\LiteBag\Panel.lua:139
 reverse = <function> defined @Interface\AddOns\LiteBag\Panel.lua:178
}
MIN_COLUMNS = 8
LEFT_OFFSET = 15
RIGHT_OFFSET = 14
commented

Fixed in 9.0.0alpha3. Thanks.