Remove some old print statements

This commit is contained in:
2025-01-07 01:27:57 +01:00
parent ece39790d2
commit e3286571b1
2 changed files with 4 additions and 11 deletions

View File

@@ -248,9 +248,7 @@ StaticGridFrame = {
local y = -(row - 1) * self.cellHeight
frame.colspan = colspan
frame.rowspan = rowspan
print("Setting width", self.cellWidth * colspan)
frame:SetWidth(self.cellWidth * colspan)
print("Setting height", self.cellHeight * rowspan)
frame:SetHeight(self.cellHeight * rowspan)
frame:SetPoint("TOPLEFT", self.frame, "TOPLEFT", x, y)
frame:SetParent(self.frame)
@@ -502,11 +500,6 @@ function shared.Config.Init()
editBox:SetMultiLine(true)
editBox:SetSize(280, 100)
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("OnEditFocusLost", function() onDone(editBox) end)
container:Add(textFrame, 1, 1)

View File

@@ -48,13 +48,13 @@ function shared.Messenger.Init()
if not message.channel or message.channel == "" then return end
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)
if channelId == 0 then
print("Channel not found, joining")
print(string.format("Channel not found, joining %s", message.data))
channelId = FindOrJoinChannel(message.data)
end
print("Channel resolved to id", channelId)
--print("Channel resolved to id", channelId)
message.data = tostring(channelId)
end