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)