Added an option to toggle between rounded and squared tooltips

This commit is contained in:
Tercio Jose
2024-03-15 15:46:38 -03:00
parent 47bad31a56
commit 2421b29665
5 changed files with 29 additions and 10 deletions
+7 -1
View File
@@ -1674,11 +1674,17 @@
end
end
GameCooltip:ShowRoundedCorner()
Details:AddRoundedCornerToTooltip()
GameCooltip:ShowCooltip()
end
end
function Details:AddRoundedCornerToTooltip()
if (Details.tooltip.rounded_corner) then
GameCooltip:ShowRoundedCorner()
end
end
function Details.gump:UpdateTooltip(whichRowLine, esta_barra, instancia)
if (IsShiftKeyDown()) then
return instancia:MontaTooltip(esta_barra, whichRowLine, "shift")