Permalink
Browse files

removed some dead code

  • Loading branch information...
1 parent 8490bb0 commit 9eaa018920b231025a4fc94e8e75ee85dba26264 @Tuller Tuller committed Sep 3, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 frame.lua
View
@@ -69,10 +69,10 @@ local active = {}
local unused = {}
--constructor
-function Frame:New(id, tooltipText, alwaysVisible)
+function Frame:New(id, tooltipText)
local id = tonumber(id) or id
- local f = self:Restore(id) or self:Create(id, alwaysVisible)
+ local f = self:Restore(id) or self:Create(id)
f:LoadSettings()
f.buttons = {}
f:SetTooltipText(tooltipText)
@@ -82,7 +82,7 @@ function Frame:New(id, tooltipText, alwaysVisible)
return f
end
-function Frame:Create(id, alwaysVisible)
+function Frame:Create(id)
local f = self:Bind(CreateFrame('Frame', format('DominosFrame%s', id), UIParent))
f:SetClampedToScreen(true)
f:SetMovable(true)

0 comments on commit 9eaa018

Please sign in to comment.