From f5ea6a706f01105bf45dd7be00078a1da528d922 Mon Sep 17 00:00:00 2001 From: Tercio Date: Sat, 13 Aug 2016 00:34:55 -0300 Subject: [PATCH] - Warlock's Grimoire of Synergy buff uptime fix. --- Libs/DF/cooltip.lua | 16 ++++++++++++---- Libs/DF/fw.lua | 32 ++++++++++++++++---------------- boot.lua | 7 ++++--- classes/classe_instancia.lua | 8 ++++---- core/control.lua | 2 +- core/parser.lua | 9 +++++++++ gumps/janela_principal.lua | 12 ++++++------ 7 files changed, 52 insertions(+), 34 deletions(-) diff --git a/Libs/DF/cooltip.lua b/Libs/DF/cooltip.lua index 55aad45a..b54e58c4 100644 --- a/Libs/DF/cooltip.lua +++ b/Libs/DF/cooltip.lua @@ -157,8 +157,9 @@ function DF:CreateCoolTip() tinsert (UISpecialFrames, "GameCooltipFrame1") DF:CreateFlashAnimation (frame1) - DF:CreateBorder (frame1) - + if (DF.CreateBorder) then + DF:CreateBorder (frame1, .3, .1, .03) + end else frame1 = GameCooltipFrame1 end @@ -178,7 +179,9 @@ function DF:CreateCoolTip() DF:CreateFlashAnimation (frame2) frame2:SetClampedToScreen (true) - DF:CreateBorder (frame2) + if (DF.CreateBorder) then + DF:CreateBorder (frame2, .3, .1, .03) + end else frame2 = GameCooltipFrame2 end @@ -1976,7 +1979,12 @@ function DF:CreateCoolTip() frame2:ClearAllPoints() frame2:SetPoint ("bottomleft", frame1, "bottomright", 4, 0) - + + frame1:SetParent (UIParent) + frame2:SetParent (UIParent) + frame1:SetFrameStrata ("TOOLTIP") + frame2:SetFrameStrata ("TOOLTIP") + CoolTip:HideSelectedTexture (frame1) CoolTip:HideSelectedTexture (frame2) diff --git a/Libs/DF/fw.lua b/Libs/DF/fw.lua index 430314e4..7729de9e 100644 --- a/Libs/DF/fw.lua +++ b/Libs/DF/fw.lua @@ -1,5 +1,5 @@ -local dversion = 35 +local dversion = 37 local major, minor = "DetailsFramework-1.0", dversion local DF, oldminor = LibStub:NewLibrary (major, minor) @@ -1234,9 +1234,9 @@ function DF:CreateBorder (parent, alpha1, alpha2, alpha3) Layer1 = {}, Layer2 = {}, Layer3 = {}, - Alpha1 = default_border_color1, - Alpha2 = default_border_color2, - Alpha3 = default_border_color3, + Alpha1 = alpha1 or default_border_color1, + Alpha2 = alpha2 or default_border_color2, + Alpha3 = alpha3 or default_border_color3, } parent.SetBorderAlpha = SetBorderAlpha @@ -1244,15 +1244,15 @@ function DF:CreateBorder (parent, alpha1, alpha2, alpha3) local border1 = parent:CreateTexture (nil, "background") border1:SetPoint ("topleft", parent, "topleft", -1, 1) border1:SetPoint ("bottomleft", parent, "bottomleft", -1, -1) - border1:SetColorTexture (0, 0, 0, default_border_color1) + border1:SetColorTexture (0, 0, 0, alpha1 or default_border_color1) local border2 = parent:CreateTexture (nil, "background") border2:SetPoint ("topleft", parent, "topleft", -2, 2) border2:SetPoint ("bottomleft", parent, "bottomleft", -2, -2) - border2:SetColorTexture (0, 0, 0, default_border_color2) + border2:SetColorTexture (0, 0, 0, alpha2 or default_border_color2) local border3 = parent:CreateTexture (nil, "background") border3:SetPoint ("topleft", parent, "topleft", -3, 3) border3:SetPoint ("bottomleft", parent, "bottomleft", -3, -3) - border3:SetColorTexture (0, 0, 0, default_border_color3) + border3:SetColorTexture (0, 0, 0, alpha3 or default_border_color3) tinsert (parent.Borders.Layer1, border1) tinsert (parent.Borders.Layer2, border2) @@ -1261,15 +1261,15 @@ function DF:CreateBorder (parent, alpha1, alpha2, alpha3) local border1 = parent:CreateTexture (nil, "background") border1:SetPoint ("topleft", parent, "topleft", 0, 1) border1:SetPoint ("topright", parent, "topright", 1, 1) - border1:SetColorTexture (0, 0, 0, default_border_color1) + border1:SetColorTexture (0, 0, 0, alpha1 or default_border_color1) local border2 = parent:CreateTexture (nil, "background") border2:SetPoint ("topleft", parent, "topleft", -1, 2) border2:SetPoint ("topright", parent, "topright", 2, 2) - border2:SetColorTexture (0, 0, 0, default_border_color2) + border2:SetColorTexture (0, 0, 0, alpha2 or default_border_color2) local border3 = parent:CreateTexture (nil, "background") border3:SetPoint ("topleft", parent, "topleft", -2, 3) border3:SetPoint ("topright", parent, "topright", 3, 3) - border3:SetColorTexture (0, 0, 0, default_border_color3) + border3:SetColorTexture (0, 0, 0, alpha3 or default_border_color3) tinsert (parent.Borders.Layer1, border1) tinsert (parent.Borders.Layer2, border2) @@ -1278,15 +1278,15 @@ function DF:CreateBorder (parent, alpha1, alpha2, alpha3) local border1 = parent:CreateTexture (nil, "background") border1:SetPoint ("topright", parent, "topright", 1, 0) border1:SetPoint ("bottomright", parent, "bottomright", 1, -1) - border1:SetColorTexture (0, 0, 0, default_border_color1) + border1:SetColorTexture (0, 0, 0, alpha1 or default_border_color1) local border2 = parent:CreateTexture (nil, "background") border2:SetPoint ("topright", parent, "topright", 2, 1) border2:SetPoint ("bottomright", parent, "bottomright", 2, -2) - border2:SetColorTexture (0, 0, 0, default_border_color2) + border2:SetColorTexture (0, 0, 0, alpha2 or default_border_color2) local border3 = parent:CreateTexture (nil, "background") border3:SetPoint ("topright", parent, "topright", 3, 2) border3:SetPoint ("bottomright", parent, "bottomright", 3, -3) - border3:SetColorTexture (0, 0, 0, default_border_color3) + border3:SetColorTexture (0, 0, 0, alpha3 or default_border_color3) tinsert (parent.Borders.Layer1, border1) tinsert (parent.Borders.Layer2, border2) @@ -1295,15 +1295,15 @@ function DF:CreateBorder (parent, alpha1, alpha2, alpha3) local border1 = parent:CreateTexture (nil, "background") border1:SetPoint ("bottomleft", parent, "bottomleft", 0, -1) border1:SetPoint ("bottomright", parent, "bottomright", 0, -1) - border1:SetColorTexture (0, 0, 0, default_border_color1) + border1:SetColorTexture (0, 0, 0, alpha1 or default_border_color1) local border2 = parent:CreateTexture (nil, "background") border2:SetPoint ("bottomleft", parent, "bottomleft", -1, -2) border2:SetPoint ("bottomright", parent, "bottomright", 1, -2) - border2:SetColorTexture (0, 0, 0, default_border_color2) + border2:SetColorTexture (0, 0, 0, alpha2 or default_border_color2) local border3 = parent:CreateTexture (nil, "background") border3:SetPoint ("bottomleft", parent, "bottomleft", -2, -3) border3:SetPoint ("bottomright", parent, "bottomright", 2, -3) - border3:SetColorTexture (0, 0, 0, default_border_color3) + border3:SetColorTexture (0, 0, 0, alpha3 or default_border_color3) tinsert (parent.Borders.Layer1, border1) tinsert (parent.Borders.Layer2, border2) diff --git a/boot.lua b/boot.lua index a506af72..87de8549 100644 --- a/boot.lua +++ b/boot.lua @@ -3,8 +3,8 @@ _ = nil _detalhes = LibStub("AceAddon-3.0"):NewAddon("_detalhes", "AceTimer-3.0", "AceComm-3.0", "AceSerializer-3.0", "NickTag-1.0") - _detalhes.build_counter = 2781 --it's 2781 for release - _detalhes.userversion = "v5.19" + _detalhes.build_counter = 2785 --it's 2781 for release + _detalhes.userversion = "v5.20" _detalhes.realversion = 110 --core version _detalhes.version = _detalhes.userversion .. " (core " .. _detalhes.realversion .. ")" Details = _detalhes @@ -29,11 +29,12 @@ do |cFFFFFF00-|r Legion followers fix.\n\n |cFFFFFF00-|r boss detection for Legion dungeons.\n\n |cFFFFFF00-|r priest spec detection review (thanks Yakumile-Azralon).\n\n +|cFFFFFF00-|r Warlock's Grimoire of Synergy buff uptime fix.\n\n --]] -- --Loc ["STRING_VERSION_LOG"] = "|cFFFFFF00v5.10c (|cFFFFCC00July 22, 2016|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Trying a workaround for the wow client's texture cache bug which causes FPS drops, please delete the file 'spec_icons_normal.TGA' from details/image folder.\n\n|cFFFFFF00v5.10b (|cFFFFCC00July 21, 2016|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed warlock's Soul Effigy.\n\n|cFFFFFF00v5.10a (|cFFFFCC00July 20, 2016|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed an issue with Calc Leech plugin.\n\n|cFFFFFF00v5.10 (|cFFFFCC00July 19, 2016|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Using .BLP format for images. If you have FPS drops caused by Details!, delete ALL .TGA files inside the folder Details/Images/\n\n|cFFFFFF00v5.8 (|cFFFFCC00July 11, 2016|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Big framework update. May have some bugs, please report to us if you find any.\n\n|cFFFFFF00v5.8 (|cFFFFCC00June 27, 2016|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Energy and Resources are working properly now.\n\n|cFFFFFF00-|r Added raid information for The Emerald Nightmare.\n\n|cFFFFFF00v5.7 (|cFFFFCC00June 16, 2016|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Most of the raid plugins got added on this version.\n\n|cFFFFFF00-|r Plugin 'Damage, The Game!' also got damage goals updated.\n\n|cFFFFFF00v5.5 (|cFFFFCC00June 03, 2016|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Default skin is now 'Safe Skin Legion Beta' which helps a little with the disabled texture issue.\n|cFFFFFF00-|r If you're using another skin, you may change at the options panel /details options > Skin Selection.\n|cFFFFFF00-|r You also can disable the class icons at Bars: General > Icon File." - Loc ["STRING_VERSION_LOG"] = "|cFFFFFF00v5.18 (|cFFFFCC00August 11, 2016|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fix for the options panel background when using Classic panels.\n\n|cFFFFFF00-|r Tooltips are now slightly bigger.\n\n|cFFFFFF00-|r Fix for bookmark background where sometimes it has a light silver color.\n\n|cFFFFFF00-|r Fix for channel cast on Streamer Plugin.\n\n|cFFFFFF00-|r Legion followers fix.\n\n|cFFFFFF00-|r Boss detection for Legion dungeons.\n\n|cFFFFFF00-|r Priest spec detection review (thanks Yakumile-Azralon).\n\n|cFFFFFF00v5.15 (|cFFFFCC00August 5, 2016|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r fix for an error which happen sometimes during encounter start.\n\n|cFFFFFF00v5.14 (|cFFFFCC00August 2, 2016|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Added outline option for bar's Left Text (experimental).\n\n|cFFFFFF00-|r 'Minimalistic' is once again the default skin for new windows, changed from the 'Safe Beta Skin'.\n\n|cFFFFFF00-|r Fixed some issues with spec detection and LibGroupInSpecT-1.1 has need enabled back again.\n\n|cFFFFFF00-|r Fixed an issue with micro displays not loading settings after a logon.\n\n|cFFFFFF00-|r Another wave of workarounds to prevent the client image cache bug.\n\n|cFFFFFF00-|r fixed the spam of 'segment not added to overall'.\n\n|cFFFFFF00-|r stormlash and blessing of might workarouds.\n\n|cFFFFFF00-|r warrior rampage fix.\n\n|cFFFFFF00-|r hunter throw axe fix.\n\n|cFFFFFF00v5.10c (|cFFFFCC00July 22, 2016|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Trying a workaround for the wow client's texture cache bug which causes FPS drops, please delete the file 'spec_icons_normal.TGA' from details/image folder.\n\n|cFFFFFF00v5.10b (|cFFFFCC00July 21, 2016|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed warlock's Soul Effigy.\n\n|cFFFFFF00v5.10a (|cFFFFCC00July 20, 2016|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed an issue with Calc Leech plugin.\n\n|cFFFFFF00v5.10 (|cFFFFCC00July 19, 2016|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Using .BLP format for images. If you have FPS drops caused by Details!, delete ALL .TGA files inside the folder Details/Images/\n\n|cFFFFFF00v5.8 (|cFFFFCC00July 11, 2016|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Big framework update. May have some bugs, please report to us if you find any.\n\n|cFFFFFF00v5.8 (|cFFFFCC00June 27, 2016|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Energy and Resources are working properly now.\n\n|cFFFFFF00-|r Added raid information for The Emerald Nightmare.\n\n|cFFFFFF00v5.7 (|cFFFFCC00June 16, 2016|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Most of the raid plugins got added on this version.\n\n|cFFFFFF00-|r Plugin 'Damage, The Game!' also got damage goals updated.\n\n|cFFFFFF00v5.5 (|cFFFFCC00June 03, 2016|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Default skin is now 'Safe Skin Legion Beta' which helps a little with the disabled texture issue.\n|cFFFFFF00-|r If you're using another skin, you may change at the options panel /details options > Skin Selection.\n|cFFFFFF00-|r You also can disable the class icons at Bars: General > Icon File." + Loc ["STRING_VERSION_LOG"] = "|cFFFFFF00v5.20 (|cFFFFCC00August 13, 2016|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Warlock's Grimoire of Synergy buff uptime fix.\n\n|cFFFFFF00-|r Fix for the options panel background when using Classic panels.\n\n|cFFFFFF00-|r Tooltips are now slightly bigger.\n\n|cFFFFFF00-|r Fix for bookmark background where sometimes it has a light silver color.\n\n|cFFFFFF00-|r Fix for channel cast on Streamer Plugin.\n\n|cFFFFFF00-|r Legion followers fix.\n\n|cFFFFFF00-|r Boss detection for Legion dungeons.\n\n|cFFFFFF00-|r Priest spec detection review (thanks Yakumile-Azralon).\n\n|cFFFFFF00v5.15 (|cFFFFCC00August 5, 2016|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r fix for an error which happen sometimes during encounter start.\n\n|cFFFFFF00v5.14 (|cFFFFCC00August 2, 2016|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Added outline option for bar's Left Text (experimental).\n\n|cFFFFFF00-|r 'Minimalistic' is once again the default skin for new windows, changed from the 'Safe Beta Skin'.\n\n|cFFFFFF00-|r Fixed some issues with spec detection and LibGroupInSpecT-1.1 has need enabled back again.\n\n|cFFFFFF00-|r Fixed an issue with micro displays not loading settings after a logon.\n\n|cFFFFFF00-|r Another wave of workarounds to prevent the client image cache bug.\n\n|cFFFFFF00-|r fixed the spam of 'segment not added to overall'.\n\n|cFFFFFF00-|r stormlash and blessing of might workarouds.\n\n|cFFFFFF00-|r warrior rampage fix.\n\n|cFFFFFF00-|r hunter throw axe fix.\n\n|cFFFFFF00v5.10c (|cFFFFCC00July 22, 2016|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Trying a workaround for the wow client's texture cache bug which causes FPS drops, please delete the file 'spec_icons_normal.TGA' from details/image folder.\n\n|cFFFFFF00v5.10b (|cFFFFCC00July 21, 2016|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed warlock's Soul Effigy.\n\n|cFFFFFF00v5.10a (|cFFFFCC00July 20, 2016|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Fixed an issue with Calc Leech plugin.\n\n|cFFFFFF00v5.10 (|cFFFFCC00July 19, 2016|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Using .BLP format for images. If you have FPS drops caused by Details!, delete ALL .TGA files inside the folder Details/Images/\n\n|cFFFFFF00v5.8 (|cFFFFCC00July 11, 2016|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Big framework update. May have some bugs, please report to us if you find any.\n\n|cFFFFFF00v5.8 (|cFFFFCC00June 27, 2016|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Energy and Resources are working properly now.\n\n|cFFFFFF00-|r Added raid information for The Emerald Nightmare.\n\n|cFFFFFF00v5.7 (|cFFFFCC00June 16, 2016|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Most of the raid plugins got added on this version.\n\n|cFFFFFF00-|r Plugin 'Damage, The Game!' also got damage goals updated.\n\n|cFFFFFF00v5.5 (|cFFFFCC00June 03, 2016|r|cFFFFFF00)|r:\n\n|cFFFFFF00-|r Default skin is now 'Safe Skin Legion Beta' which helps a little with the disabled texture issue.\n|cFFFFFF00-|r If you're using another skin, you may change at the options panel /details options > Skin Selection.\n|cFFFFFF00-|r You also can disable the class icons at Bars: General > Icon File." Loc ["STRING_DETAILS1"] = "|cffffaeaeDetails!:|r " diff --git a/classes/classe_instancia.lua b/classes/classe_instancia.lua index 23513cc0..b4eb070c 100644 --- a/classes/classe_instancia.lua +++ b/classes/classe_instancia.lua @@ -2531,10 +2531,10 @@ function _detalhes:MontaAtributosOption (instancia, func) end CoolTip:SetOption ("StatusBarTexture", [[Interface\AddOns\Details\images\bar4_vidro]]) - CoolTip:SetOption ("ButtonsYMod", -7) - CoolTip:SetOption ("ButtonsYModSub", -7) - CoolTip:SetOption ("HeighMod", 8) - CoolTip:SetOption ("HeighModSub", 8) + CoolTip:SetOption ("ButtonsYMod", -5) + CoolTip:SetOption ("ButtonsYModSub", -5) + CoolTip:SetOption ("HeighMod", 6) + CoolTip:SetOption ("HeighModSub", 6) CoolTip:SetOption ("SelectedTopAnchorMod", -2) CoolTip:SetOption ("SelectedBottomAnchorMod", 2) diff --git a/core/control.lua b/core/control.lua index c677d2b0..c00de2aa 100644 --- a/core/control.lua +++ b/core/control.lua @@ -1306,7 +1306,7 @@ end end - local bgColor, borderColor = {0.37, 0.37, 0.37, 1}, {0, 0, 0, .2} + local bgColor, borderColor = {0.37, 0.37, 0.37, .75}, {.30, .30, .30, .3} function _detalhes:BuildInstanceBarTooltip (frame) local GameCooltip = GameCooltip diff --git a/core/parser.lua b/core/parser.lua index c9f4b894..1131661a 100644 --- a/core/parser.lua +++ b/core/parser.lua @@ -1309,6 +1309,9 @@ if (who_name == alvo_name and raid_members_cache [who_serial] and _in_combat) then --> call record buffs uptime parser:add_buff_uptime (token, time, who_serial, who_name, who_flags, alvo_serial, alvo_name, alvo_flags, alvo_flags2, spellid, spellname, "BUFF_UPTIME_IN") + elseif (container_pets [who_serial] and container_pets [who_serial][2] == alvo_serial) then + --um pet colocando uma aura do dono + parser:add_buff_uptime (token, time, alvo_serial, alvo_name, alvo_flags, alvo_serial, alvo_name, alvo_flags, alvo_flags2, spellid, spellname, "BUFF_UPTIME_IN") end end @@ -1525,6 +1528,9 @@ if (who_name == alvo_name and raid_members_cache [who_serial] and _in_combat) then --> call record buffs uptime parser:add_buff_uptime (token, time, who_serial, who_name, who_flags, alvo_serial, alvo_name, alvo_flags, alvo_flags2, spellid, spellname, "BUFF_UPTIME_REFRESH") + elseif (container_pets [who_serial] and container_pets [who_serial][2] == alvo_serial) then + --um pet colocando uma aura do dono + parser:add_buff_uptime (token, time, alvo_serial, alvo_name, alvo_flags, alvo_serial, alvo_name, alvo_flags, alvo_flags2, spellid, spellname, "BUFF_UPTIME_REFRESH") end end @@ -1661,6 +1667,9 @@ if (who_name == alvo_name and raid_members_cache [who_serial] and _in_combat) then --> call record buffs uptime parser:add_buff_uptime (token, time, who_serial, who_name, who_flags, alvo_serial, alvo_name, alvo_flags, alvo_flags2, spellid, spellname, "BUFF_UPTIME_OUT") + elseif (container_pets [who_serial] and container_pets [who_serial][2] == alvo_serial) then + --um pet colocando uma aura do dono + parser:add_buff_uptime (token, time, alvo_serial, alvo_name, alvo_flags, alvo_serial, alvo_name, alvo_flags, alvo_flags2, spellid, spellname, "BUFF_UPTIME_OUT") end end diff --git a/gumps/janela_principal.lua b/gumps/janela_principal.lua index 964626ae..c0e404a4 100644 --- a/gumps/janela_principal.lua +++ b/gumps/janela_principal.lua @@ -5548,12 +5548,12 @@ local build_mode_list = function (self, elapsed) CoolTip:SetOption ("ButtonHeightMod", -5) CoolTip:SetOption ("ButtonsYModSub", -3) - CoolTip:SetOption ("ButtonsYMod", -10) + CoolTip:SetOption ("ButtonsYMod", -6) CoolTip:SetOption ("YSpacingModSub", -3) CoolTip:SetOption ("YSpacingMod", 1) - CoolTip:SetOption ("HeighMod", 10) + CoolTip:SetOption ("HeighMod", 3) _detalhes:SetTooltipMinWidth() @@ -7801,8 +7801,8 @@ end GameCooltip:SetOption ("TextHeightMod", 0) GameCooltip:SetOption ("IgnoreButtonAutoHeight", false) - GameCooltip:SetOption ("ButtonsYMod", -7) - GameCooltip:SetOption ("HeighMod", 8) + GameCooltip:SetOption ("ButtonsYMod", -3) + GameCooltip:SetOption ("HeighMod", 3) _detalhes:SetTooltipMinWidth() @@ -7995,8 +7995,8 @@ local report_on_enter = function (self, motion, forced, from_click) GameCooltip:SetOption ("TextHeightMod", 0) GameCooltip:SetOption ("IgnoreButtonAutoHeight", false) - GameCooltip:SetOption ("ButtonsYMod", -7) - GameCooltip:SetOption ("HeighMod", 8) + GameCooltip:SetOption ("ButtonsYMod", -3) + GameCooltip:SetOption ("HeighMod", 3) _detalhes:SetTooltipMinWidth()