don't make EditField's transparent

this is actually a very old bug, but now that I know how transparency
works, it's obvious how to fix this
develop
Myk Taylor 2023-01-12 12:47:43 -08:00
parent 15998f2ebe
commit 52a39438f7
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

@ -659,7 +659,7 @@ function EditField:postUpdateLayout()
end end
function EditField:onRenderBody(dc) function EditField:onRenderBody(dc)
dc:pen(self.text_pen or COLOR_LIGHTCYAN):fill(0,0,dc.width-1,0) dc:pen(self.text_pen or COLOR_LIGHTCYAN)
local cursor_char = '_' local cursor_char = '_'
if not getval(self.active) or not self.focus or gui.blink_visible(300) then if not getval(self.active) or not self.focus or gui.blink_visible(300) then