diff --git a/itemcontroller.lua b/itemcontroller.lua index 041db98..ac47199 100644 --- a/itemcontroller.lua +++ b/itemcontroller.lua @@ -863,7 +863,7 @@ local PAGES = { } } - local rButtonsLeft, rButtonsRight = getCenterPad(requestButtons.getWidth(), state.width) + local rButtonsLeft, rButtonsRight = getCenterPad(requestButtons:getWidth(), state.width) local PADDING_RQC_H = 1 local paddedRequestCount = Padding:new{