diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-06-30 21:59:15 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-06-30 21:59:17 -0700 |
commit | 86cef3363054675ac1c0267acbbb2a640d7454df (patch) | |
tree | 9680b7406292fd75a9e0a231bf93264dbd5212b8 | |
parent | e1a49c216ebc29a0c09c439a08cc6551cddbdea8 (diff) | |
download | view.love-86cef3363054675ac1c0267acbbb2a640d7454df.tar.gz |
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.
-rw-r--r-- | main.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main.lua b/main.lua index 6611e2b..8d56dc1 100644 --- a/main.lua +++ b/main.lua @@ -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)) |