mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-03-28 02:32:46 +01:00
Багфикс переводчика
This commit is contained in:
@@ -1810,7 +1810,7 @@ local function dropDownMenuCalculateSizes(menu)
|
||||
totalHeight = totalHeight + (menu.itemsContainer.children[i].type == GUI.dropDownMenuElementTypes.separator and 1 or menu.itemHeight)
|
||||
menu.itemsContainer.children[i].width = menu.width
|
||||
end
|
||||
menu.height = math.min(totalHeight, menu.maximumHeight)
|
||||
menu.height = math.min(totalHeight, menu.maximumHeight, buffer.height - menu.y)
|
||||
menu.itemsContainer.width, menu.itemsContainer.height = menu.width, menu.height
|
||||
|
||||
menu.nextButton.localPosition.y = menu.height
|
||||
|
||||
Reference in New Issue
Block a user