mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 11:34:54 +02:00
more opengl graphics fixes
This commit is contained in:
@@ -181,8 +181,6 @@ function Terminal.addLine(text, color)
|
||||
local numLines = terminalBuffer:getChildCount() + 1
|
||||
if numLines > MaxLogLines then
|
||||
terminalBuffer:getChildByIndex(1):destroy()
|
||||
else
|
||||
terminalBuffer:setHeight(terminalBuffer:getHeight() + LabelHeight)
|
||||
end
|
||||
|
||||
-- create new line label
|
||||
|
@@ -14,7 +14,7 @@ UIWindow
|
||||
id: terminalBuffer
|
||||
layout:
|
||||
type: verticalBox
|
||||
align-bottom: true
|
||||
fit-children: true
|
||||
focusable: false
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
|
Reference in New Issue
Block a user