textBox控件在隐藏时也会自动滚动
This commit is contained in:
@@ -896,7 +896,7 @@ function textBox:update()
|
|||||||
end
|
end
|
||||||
function textBox:push(t)
|
function textBox:push(t)
|
||||||
ins(self.texts,t)
|
ins(self.texts,t)
|
||||||
if self.scrollPos==#self.texts-1 and not self.hide then
|
if self.scrollPos==#self.texts-1 then
|
||||||
self.scrollPos=#self.texts
|
self.scrollPos=#self.texts
|
||||||
else
|
else
|
||||||
self.new=true
|
self.new=true
|
||||||
|
|||||||
Reference in New Issue
Block a user