use the background color

I'd hoped this would reduce the blocks of black while resizing, but it
doesn't seem to have made a difference.
This commit is contained in:
Kartik K. Agaram 2022-06-30 21:59:15 -07:00
parent e1a49c216e
commit 86cef33630
1 changed files with 2 additions and 2 deletions

View File

@ -112,6 +112,8 @@ function App.initialize(arg)
initialize_font_settings(20)
love.graphics.setBackgroundColor(1,1,1)
if #arg > 0 then
Filename = arg[1]
end
@ -203,8 +205,6 @@ end
function App.draw()
Button_handlers = {}
love.graphics.setColor(1, 1, 1)
love.graphics.rectangle('fill', 0, 0, App.screen.width-1, App.screen.height-1)
love.graphics.setColor(0, 0, 0)
assert(Text.le1(Screen_top1, Cursor1))