diff --git a/itemcontroller.lua b/itemcontroller.lua index 35ca581..553d484 100644 --- a/itemcontroller.lua +++ b/itemcontroller.lua @@ -617,10 +617,7 @@ local PAGES = { ---@diagnostic disable-next-line: redefined-local local keyboardWidth = keyboardList:getWidth() - keyboardList:setPos{ - x = math.floor((screenContainer:getWidth() - keyboardWidth) / 2), - y = screenContainer:getHeight() - keyboardList:getHeight() - } + keyboardList:setPos(math.floor((screenContainer:getWidth() - keyboardWidth) / 2), screenContainer:getHeight() - keyboardList:getHeight()) local filterDisplayedText = #pageState.filter < keyboardWidth and pageState.filter or pageState.filter:sub(#pageState.filter - keyboardWidth + 1, keyboardWidth) local filterText = keyboardList:findById(ID_FILTER_DISPLAY)