fix titlebar look

This commit is contained in:
kepler155c@gmail.com 2018-11-13 21:31:55 -05:00
parent 62ac7a52ec
commit ccd1711d20
1 changed files with 2 additions and 0 deletions

View File

@ -1886,6 +1886,8 @@ function UI.TitleBar:draw()
sb:center(string.format(' %s ', self.title))
if self.previousPage or self.event then
sb:insert(-1, self.closeInd)
else
sb:insert(-2, self.frameChar)
end
self:write(1, 1, sb:get())
end