From 65cea736c32289ea2f0850ec5c32cdbcc8e121c1 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sun, 15 May 2022 14:42:10 -0700 Subject: [PATCH] bugfix: text sometimes getting colored like drawing borders --- main.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.lua b/main.lua index 86a1e2a..5e9e883 100644 --- a/main.lua +++ b/main.lua @@ -116,10 +116,12 @@ function love.draw() --? print(#line.points) draw_pending_shape(16,line.y, line) else + love.graphics.setColor(0,0,0) love.graphics.draw(text, 25,y, 0, 1.5) end end -- cursor + love.graphics.setColor(0,0,0) love.graphics.print('_', 25+text:getWidth()*1.5, y) -- display side effect