From 9f20d3d0bb3be7ec40a7dbb49467373fd0f1b34e Mon Sep 17 00:00:00 2001 From: Raenore <172234435+Raenore@users.noreply.github.com> Date: Sun, 21 Jul 2024 00:32:05 +0200 Subject: [PATCH] Notification (and version) line hardcoded size 10 (#1051) It seems silly that if you increase your tertiary text on tooltips (to read CU/CO if your eyes are worse) that the version of your TRP and the other two should explode in your face as well. --- totalRP3/Modules/Register/Main/RegisterTooltip.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/totalRP3/Modules/Register/Main/RegisterTooltip.lua b/totalRP3/Modules/Register/Main/RegisterTooltip.lua index e78c044d6..b19b4e6e9 100644 --- a/totalRP3/Modules/Register/Main/RegisterTooltip.lua +++ b/totalRP3/Modules/Register/Main/RegisterTooltip.lua @@ -962,7 +962,7 @@ local function writeTooltipForCharacter(targetID, targetType) if notifText == "" then notifText = " "; -- Prevent bad right line height end - tooltipBuilder:AddDoubleLine(notifText, clientText, colors.MAIN, colors.MAIN, getSmallLineFontSize()); + tooltipBuilder:AddDoubleLine(notifText, clientText, colors.MAIN, colors.MAIN, 10); end SetProgressSpinnerShown(TRP3_CharacterTooltip, TRP3_API.register.HasActiveRequest(targetID));