Да-да

This commit is contained in:
Igor Timofeev
2017-09-10 14:36:30 +03:00
parent d91435ae12
commit f0d59ab32f
3 changed files with 6 additions and 4 deletions

View File

@@ -1845,6 +1845,7 @@ local function contextMenuCalculate(menu)
end
end
menu.width = 2 + widestItem + (widestShortcut > 0 and 3 + widestShortcut or 0)
menu.height = #menu.itemsContainer.children
end
local function contextMenuShow(menu)