about summary refs log tree commit diff stats
path: root/text.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-06-09 13:39:41 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-06-09 13:39:41 -0700
commit25190676ea2a7cee59c57506ccefaed82ee6fb79 (patch)
tree461ac27ae0463bf2065a6d697469aee471f34552 /text.lua
parent06fae39088c5e62b6fbc82c47fa80c17c4aa2ee3 (diff)
downloadview.love-25190676ea2a7cee59c57506ccefaed82ee6fb79.tar.gz
the problem is that the cursor can occlude text
And anything we do to reduce the occlusion also makes the cursor harder
to acquire.

I suppose this is why we need the blink.
Diffstat (limited to 'text.lua')
-rw-r--r--text.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/text.lua b/text.lua
index 3e86d27..b8c3909 100644
--- a/text.lua
+++ b/text.lua
@@ -85,7 +85,7 @@ end
 --  draw with small line_width of 100
 
 function Text.draw_cursor(x, y)
-  love.graphics.setColor(1,0,0)
+  love.graphics.setColor(1,0,0, 0.8)
   love.graphics.rectangle('fill', x,y, 3,Line_height)
   love.graphics.setColor(0,0,0)
   Cursor_x = x