fix: menu item hint clipping not accounting for spacing

closes #191
This commit is contained in:
tomasklaen
2022-09-13 13:43:09 +02:00
parent a110ddcc95
commit e8239e88c9

View File

@@ -2092,7 +2092,7 @@ function Menu:render()
content_bx = content_bx - icon_size - spacing
end
local title_hint_cut_x = content_ax + (content_bx - content_ax) * title_hint_ratio
local title_hint_cut_x = content_ax + (content_bx - content_ax - spacing) * title_hint_ratio
-- Hint
if item.hint then