From 6c275453d0da43e0df6868a876401e8e94d3b010 Mon Sep 17 00:00:00 2001 From: Tercio Jose Date: Thu, 1 Sep 2022 20:32:51 -0300 Subject: [PATCH] Fixes (7) --- frames/window_report.lua | 13 +++++++------ frames/window_switch.lua | 6 +++--- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/frames/window_report.lua b/frames/window_report.lua index 908f60e9..71294cbe 100644 --- a/frames/window_report.lua +++ b/frames/window_report.lua @@ -709,9 +709,9 @@ local function cria_drop_down (este_gump) tileSize = 64, insets = {left = 0, right = 0, top = 0, bottom = 0}}) window.enviar:SetBackdropBorderColor (0, 0, 0, 0.5) window.enviar:SetBackdropColor (0, 0, 0, 0.3) - window.enviar.Left:Hide() - window.enviar.Middle:Hide() - window.enviar.Right:Hide() +-- window.enviar.Left:Hide() +-- window.enviar.Middle:Hide() +-- window.enviar.Right:Hide() window.enviar:SetSize (342/2 - 15, 20) @@ -844,9 +844,9 @@ local function cria_drop_down (este_gump) window.enviar:ClearAllPoints() window.enviar:SetPoint ("topleft", reverse_checkbox, "bottomleft", 0, -4) - window.enviar.Left:Show() - window.enviar.Middle:Show() - window.enviar.Right:Show() +-- window.enviar.Left:Show() +-- window.enviar.Middle:Show() +-- window.enviar.Right:Show() window:SetWidth (342) window:SetHeight (255) @@ -1093,6 +1093,7 @@ local function cria_drop_down (este_gump) window.enviar:SetWidth (60) window.enviar:SetHeight (15) window.enviar:SetText (Loc ["STRING_REPORTFRAME_SEND"]) + DetailsFramework:ApplyStandardBackdrop(window.enviar) Details.FadeHandler.Fader (window, 1) gump:CreateFlashAnimation (window) diff --git a/frames/window_switch.lua b/frames/window_switch.lua index 9c15adf2..d62f52b3 100644 --- a/frames/window_switch.lua +++ b/frames/window_switch.lua @@ -502,7 +502,7 @@ do _detalhes:OpenOptionsWindow (_detalhes.switch.current_instancia) _detalhes.switch:CloseMe() end - local options_button = gump:CreateButton (frame.topbg_frame, open_options, 14, 14, open_options) + local options_button = gump:CreateButton (frame.topbg_frame, open_options, 14, 14, "") options_button:SetPoint ("right", window_color, "left", -2, 0) local options_button_texture = gump:CreateImage (options_button, [[Interface\AddOns\Details\images\icons]], 14, 14, "artwork", {396/512, 428/512, 277/512, 307/512}) @@ -530,7 +530,7 @@ do _detalhes:OpenForge() _detalhes.switch:CloseMe() end - local forge_button = gump:CreateButton (frame.topbg_frame, open_forge, 14, 14, open_forge) + local forge_button = gump:CreateButton (frame.topbg_frame, open_forge, 14, 14, "open forge") forge_button:SetPoint ("right", options_button, "left", -2, 0) local forge_button_texture = gump:CreateImage (forge_button, [[Interface\AddOns\Details\images\icons]], 14, 14, "artwork", {396/512, 428/512, 243/512, 273/512}) @@ -558,7 +558,7 @@ do _detalhes:OpenRaidHistoryWindow() _detalhes.switch:CloseMe() end - local history_button = gump:CreateButton (frame.topbg_frame, open_history, 14, 14, open_history) + local history_button = gump:CreateButton (frame.topbg_frame, open_history, 14, 14, "open history") history_button:SetPoint ("right", forge_button, "left", -2, 0) local history_button_texture = gump:CreateImage (history_button, [[Interface\AddOns\Details\images\icons]], 14, 14, "artwork", {434/512, 466/512, 243/512, 273/512})