Commit 1ddd7cee authored by Azilroka's avatar Azilroka

White Space & Cleanup

parent 4607e134
......@@ -3,14 +3,12 @@ local T, C, L = select(2, ...):unpack()
local TukuiActionBars = CreateFrame("Frame")
local _G = _G
local format = format
local Noop = function() end
local NUM_ACTIONBAR_BUTTONS = NUM_ACTIONBAR_BUTTONS
local NUM_PET_ACTION_SLOTS = NUM_PET_ACTION_SLOTS
local NUM_STANCE_SLOTS = NUM_STANCE_SLOTS
local MainMenuBar, MainMenuBarArtFrame = MainMenuBar, MainMenuBarArtFrame
local OverrideActionBar = OverrideActionBar
local PossessBarFrame = PossessBarFrame
local PetActionBarFrame = PetActionBarFrame
local ShapeshiftBarLeft, ShapeshiftBarMiddle, ShapeshiftBarRight = ShapeshiftBarLeft, ShapeshiftBarMiddle, ShapeshiftBarRight
local Panels = T["Panels"]
......
......@@ -5,7 +5,6 @@ local TukuiActionBars = T["ActionBars"]
local IsUsableAction = IsUsableAction
local IsActionInRange = IsActionInRange
local ActionHasRange = ActionHasRange
local HasAction = HasAction
function TukuiActionBars:RangeOnUpdate(elapsed)
if (not self.rangeTimer) then
......
......@@ -3,9 +3,7 @@ local T, C, L = select(2, ...):unpack()
local TukuiActionBars = T["ActionBars"]
local NUM_PET_ACTION_SLOTS = NUM_PET_ACTION_SLOTS
local Replace = string.gsub
local SpellFlyout = SpellFlyout
local FlyoutButtons = 0
local ActionButton_HideOverlayGlow = ActionButton_HideOverlayGlow
local Noop = function() end
function TukuiActionBars:SkinButton()
......
......@@ -4,11 +4,9 @@ local TukuiAuras = T["Auras"]
local unpack = unpack
local GetTime = GetTime
local DebuffTypeColor = DebuffTypeColor
local NumberFontNormal = NumberFontNormal
local BuffFrame = BuffFrame
local TemporaryEnchantFrame = TemporaryEnchantFrame
local InterfaceOptionsFrameCategoriesButton12 = InterfaceOptionsFrameCategoriesButton12
local InterfaceOptionsFrameCategoriesButton12 = InterfaceOptionsFrameCategoriesButton12
TukuiAuras.Headers = {}
TukuiAuras.FlashTimer = 30
......
......@@ -4,7 +4,6 @@ local _G = _G
local format = format
local Noop = function() end
local Toast = BNToastFrame
local ToastCloseButton = BNToastFrameCloseButton
local TukuiChat = T["Chat"]
local UIFrameFadeRemoveFrame = UIFrameFadeRemoveFrame
......
......@@ -25,8 +25,6 @@ local Update = function(self)
else
self.Text:SetFormattedText("%s %s", DataText.NameColor .. L.DataText.Armor .. "|r", DataText.ValueColor .. "100" .. "%|r")
end
Total = 0
end
local OnEnter = function(self)
......
......@@ -5,7 +5,6 @@ local format = format
local tthead, ttsubh, ttoff = {r = 0.4, g = 0.78, b = 1}, {r = 0.75, g = 0.9, b = 1}, {r = .3, g = 1, b = .3}
local activezone, inactivezone = {r = 0.3, g = 1.0, b = 0.3}, {r = 0.65, g = 0.65, b = 0.65}
local displayString = string.join("", "%s ", "%d")
local guildInfoString = "%s [%d]"
local guildInfoString2 = "%s %d/%d"
local guildMotDString = " %s |cffaaaaaa- |cffffffff%s"
......
local T, C, L = select(2, ...):unpack()
local DataText = T["DataTexts"]
local format = format
local Class = select(2, UnitClass("player"))
local Update = function(self)
local Value = GetCombatRating(18)
......
local T, C, L = select(2, ...):unpack()
local DataText = T["DataTexts"]
local format = format
local Update = function(self)
local Value = GetCombatRating(17)
......
......@@ -3,8 +3,6 @@ local T, C, L = select(2, ...):unpack()
--[[ This datatext is from: SanUI, by Pyrates ]] --
local DataText = T["DataTexts"]
local format = format
local Class = T.MyClass
local CurrentLootSpecName
local CurrentCharSpecName
......
local T, C, L = select(2, ...):unpack()
local DataText = T["DataTexts"]
local format = format
local Update = function(self)
local Value = GetCombatRating(26)
......
local T, C, L = select(2, ...):unpack()
local DataText = T["DataTexts"]
local format = format
local int = 1
local MemoryTable = {}
local KilobyteString, MegabyteString
......@@ -22,11 +21,10 @@ end
local UpdateMemory = function()
-- Update the memory usages of the addons
UpdateAddOnMemoryUsage()
local AddOnMem = 0
local TotalMem = 0
for i = 1, #MemoryTable do
AddOnMem = GetAddOnMemoryUsage(MemoryTable[i][1])
local AddOnMem = GetAddOnMemoryUsage(MemoryTable[i][1])
MemoryTable[i][3] = AddOnMem
TotalMem = TotalMem + AddOnMem
end
......
......@@ -92,10 +92,7 @@ function Bags:SkinBagButton()
self:SetNormalTexture("")
self:SetPushedTexture("")
self:SetBackdrop({
edgeFile = C.Medias.Blank,
edgeSize = T.Mult,
})
self:SetBackdrop({ edgeFile = C.Medias.Blank, edgeSize = T.Mult })
self:SetBackdropBorderColor(unpack(C.General.BorderColor))
self:StyleButton()
self.IconOverlay:SetAlpha(0)
......
......@@ -44,10 +44,8 @@ end
function Minimap:OnMove(enabled)
if enabled then
self:SetBackdropBorderColor(1, 0, 0)
Map:Hide()
else
self:SetBackdropBorderColor(unpack(C["General"].BorderColor))
Map:Show()
end
end
......
......@@ -4,7 +4,6 @@ local Miscellaneous = T["Miscellaneous"]
local Ghost = CreateFrame("Frame")
local Panels = T["Panels"]
local GhostFrame = GhostFrame
local Noop = function() end
Ghost.Color = {0.31, 0.45, 0.63}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment