Skip to content

Commit

Permalink
Fix luacheck error
Browse files Browse the repository at this point in the history
  • Loading branch information
Gethe committed May 31, 2022
1 parent b48f9f8 commit d1bdfe7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 22 deletions.
20 changes: 0 additions & 20 deletions Skin/Classic/Interface/FrameXML/MailFrame.lua
Original file line number Diff line number Diff line change
Expand Up @@ -276,26 +276,6 @@ function private.FrameXML.MailFrame()


--Skin.WowClassicScrollBar(_G.MailEditBoxScrollBar)
if not private.hasAPI then
Skin.UIPanelScrollFrameTemplate(_G.SendMailScrollFrame)
_G.SendMailScrollFrame:SetPoint("TOPLEFT", 10, -83)
_G.SendMailScrollFrame:SetWidth(298)

_G.SendStationeryBackgroundLeft:Hide()
_G.SendStationeryBackgroundRight:Hide()
_G.SendScrollBarBackgroundTop:Hide()
select(4, _G.SendMailScrollFrame:GetRegions()):Hide() -- SendScrollBarBackgroundBottom

local sendScrollBG = _G.CreateFrame("Frame", nil, _G.SendMailScrollFrame)
sendScrollBG:SetFrameLevel(_G.SendMailScrollFrame:GetFrameLevel() - 1)
sendScrollBG:SetPoint("TOPLEFT", 0, 2)
sendScrollBG:SetPoint("BOTTOMRIGHT", 20, -2)
Base.SetBackdrop(sendScrollBG, Color.frame)

_G.SendMailScrollChildFrame:SetSize(298, 257)
_G.SendMailBodyEditBox:SetPoint("TOPLEFT", 2, -2)
_G.SendMailBodyEditBox:SetWidth(298)
end

-- BlizzWTF: these should use InputBoxTemplate
Skin.SendMailInputBox(_G.SendMailNameEditBox)
Expand Down
1 change: 0 additions & 1 deletion Skin/Classic/Interface_TBC/FrameXML/UIParent.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,3 @@ function private.FrameXML.UIParent()
_G.hooksecurefunc("SetPortraitToTexture", Hook.SetPortraitToTexture)
_G.hooksecurefunc("BuildIconArray", Hook.BuildIconArray)
end
print("UIParent", private.FrameXML.UIParent)
2 changes: 1 addition & 1 deletion Skin/Retail/Interface/FrameXML/InterfaceOptionsPanels.lua
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function private.FrameXML.InterfaceOptionsPanels()
------------
-- Combat --
------------
local CombatPanel = InterfaceOptionsCombatPanel
local CombatPanel = _G.InterfaceOptionsCombatPanel
Skin.InterfaceOptionsCheckButtonTemplate(_G.InterfaceOptionsCombatPanelTargetOfTarget)
Skin.InterfaceOptionsCheckButtonTemplate(_G.InterfaceOptionsCombatPanelFlashLowHealthWarning)
Skin.InterfaceOptionsCheckButtonTemplate(CombatPanel.EnableMouseoverCastCheckbox)
Expand Down

0 comments on commit d1bdfe7

Please sign in to comment.