Call getWidth on instance

This commit is contained in:
Gabriel Tofvesson 2024-11-14 04:05:22 +00:00
parent 7837ed573a
commit 4175ea2c8c

View File

@ -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{