ResizeMailText - fix

This commit is contained in:
Sattva
2023-05-28 20:30:28 +03:00
parent 9ee821388a
commit 4315006af4
2 changed files with 14 additions and 12 deletions
+8 -6
View File
@@ -11,6 +11,10 @@ AutoQuest - May be backport retail quest accept.
RecentChatWindow - Need to rename .xml file and the backported template name.
MinimapButton - Either add functions to alt-click and other on button or remove descriptions in GUI.
ElvUI - Need to see what disabled for when ElvUI is loaded. May be something is not made in 3.3.5 ElvUI backport, but still disabled.
--------------------------------------------------------------------------------
-- What needs to be tested:
@@ -27,6 +31,8 @@ Accept Ress - Will it ever accept ressurection if ressurecter in combat ?
-- Functions to-do:
--------------------------------------------------------------------------------
RecentChatWindow - Ctrl-click on tab should be toggling the window..
HideErrorMessages - Add locales for "Requires", for herbalism,mining,lockpicking skill requirements.
HideErrorMessages - Make option to reduce Error Messages to 1 line. With option to make them fade faster.
@@ -88,17 +94,13 @@ Add more tweaks to Auction House extras module.
Square minimap
Restore Chat Messages history after relog
Hide keybind text
Hide macro text
Resize mail text
Train All Button
Copy chat links
Add a number of skill requirement to the tooltip to gather herb,mine node, when mouseovering it.
+6 -6
View File
@@ -2694,11 +2694,11 @@ function LeaPlusLC:FriendCheck(name)
-- Function to set the text size
local function MailSizeUpdate()
local MailFont, void, flags = QuestFont:GetFont()
OpenMailBodyText:SetFont("h1", MailFont, LeaPlusLC["LeaPlusMailFontSize"], flags)
OpenMailBodyText:SetFont("h2", MailFont, LeaPlusLC["LeaPlusMailFontSize"], flags)
OpenMailBodyText:SetFont("h3", MailFont, LeaPlusLC["LeaPlusMailFontSize"], flags)
OpenMailBodyText:SetFont("p", MailFont, LeaPlusLC["LeaPlusMailFontSize"], flags)
MailEditBox:GetEditBox():SetFont(MailFont, LeaPlusLC["LeaPlusMailFontSize"], flags) -- in DF, this is replaced with SendMailBodyEditBox
OpenMailBodyText:SetFont(MailFont, LeaPlusLC["LeaPlusMailFontSize"], flags)
OpenMailBodyText:SetFont(MailFont, LeaPlusLC["LeaPlusMailFontSize"], flags)
OpenMailBodyText:SetFont(MailFont, LeaPlusLC["LeaPlusMailFontSize"], flags)
OpenMailBodyText:SetFont(MailFont, LeaPlusLC["LeaPlusMailFontSize"], flags)
SendMailBodyEditBox:SetFont(MailFont, LeaPlusLC["LeaPlusMailFontSize"], flags)
end
-- Set text size after changing slider and on startup
@@ -3042,7 +3042,7 @@ function LeaPlusLC:FriendCheck(name)
err == ERR_FEIGN_DEATH_RESISTED or
err == SPELL_FAILED_TARGET_NO_POCKETS or
err == ERR_ALREADY_PICKPOCKETED or
string.match(err, "Requires") then -- add this line
string.match(err, "Requires") then
return OrigErrHandler(self, event, err, ...)
end
else