fix EditField rendering with TWBT

develop
myk002 2022-09-16 15:24:33 -07:00
parent 170d7b9b51
commit 6fff83de5a
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
1 changed files with 1 additions and 0 deletions

@ -263,6 +263,7 @@ function EditField:onRenderBody(dc)
end_pos == #txt and '' or string.char(26))
end
dc:advance(self.text_offset):string(txt)
dc:string((' '):rep(dc.clip_x2 - dc.x))
end
function EditField:onInput(keys)