微调一点ui问题

This commit is contained in:
MrZ626
2021-06-23 05:58:27 +08:00
parent 8adcd4b8a9
commit 0f1c8c7b2f
2 changed files with 3 additions and 3 deletions

View File

@@ -894,7 +894,7 @@ function textBox:reset()
end
function textBox:setTexts(t)
self.texts=t
self.scrollPos=min(#self.texts,self.capacity)
self.scrollPos=0
end
function textBox:clear()
self.texts={}