Remove some old print statements
This commit is contained in:
@@ -248,9 +248,7 @@ StaticGridFrame = {
|
|||||||
local y = -(row - 1) * self.cellHeight
|
local y = -(row - 1) * self.cellHeight
|
||||||
frame.colspan = colspan
|
frame.colspan = colspan
|
||||||
frame.rowspan = rowspan
|
frame.rowspan = rowspan
|
||||||
print("Setting width", self.cellWidth * colspan)
|
|
||||||
frame:SetWidth(self.cellWidth * colspan)
|
frame:SetWidth(self.cellWidth * colspan)
|
||||||
print("Setting height", self.cellHeight * rowspan)
|
|
||||||
frame:SetHeight(self.cellHeight * rowspan)
|
frame:SetHeight(self.cellHeight * rowspan)
|
||||||
frame:SetPoint("TOPLEFT", self.frame, "TOPLEFT", x, y)
|
frame:SetPoint("TOPLEFT", self.frame, "TOPLEFT", x, y)
|
||||||
frame:SetParent(self.frame)
|
frame:SetParent(self.frame)
|
||||||
@@ -502,11 +500,6 @@ function shared.Config.Init()
|
|||||||
editBox:SetMultiLine(true)
|
editBox:SetMultiLine(true)
|
||||||
editBox:SetSize(280, 100)
|
editBox:SetSize(280, 100)
|
||||||
editBox:SetMaxLetters(100000)
|
editBox:SetMaxLetters(100000)
|
||||||
local oldSetHeight = editBox.SetHeight
|
|
||||||
editBox.SetHeight = function(self, height)
|
|
||||||
oldSetHeight(self, height)
|
|
||||||
print("Set height", height)
|
|
||||||
end
|
|
||||||
editBox:SetScript("OnEscapePressed", function() editBox:ClearFocus() end)
|
editBox:SetScript("OnEscapePressed", function() editBox:ClearFocus() end)
|
||||||
editBox:SetScript("OnEditFocusLost", function() onDone(editBox) end)
|
editBox:SetScript("OnEditFocusLost", function() onDone(editBox) end)
|
||||||
container:Add(textFrame, 1, 1)
|
container:Add(textFrame, 1, 1)
|
||||||
|
|||||||
@@ -48,13 +48,13 @@ function shared.Messenger.Init()
|
|||||||
if not message.channel or message.channel == "" then return end
|
if not message.channel or message.channel == "" then return end
|
||||||
|
|
||||||
if message.channel == "CHANNEL" and message.data and string.match(message.data, "%D") then
|
if message.channel == "CHANNEL" and message.data and string.match(message.data, "%D") then
|
||||||
print("Channel presented as string:", message.data)
|
--print("Channel presented as string:", message.data)
|
||||||
local channelId = GetChannelName(message.data)
|
local channelId = GetChannelName(message.data)
|
||||||
if channelId == 0 then
|
if channelId == 0 then
|
||||||
print("Channel not found, joining")
|
print(string.format("Channel not found, joining %s", message.data))
|
||||||
channelId = FindOrJoinChannel(message.data)
|
channelId = FindOrJoinChannel(message.data)
|
||||||
end
|
end
|
||||||
print("Channel resolved to id", channelId)
|
--print("Channel resolved to id", channelId)
|
||||||
message.data = tostring(channelId)
|
message.data = tostring(channelId)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user