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.
This commit is contained in:
parent
06fae39088
commit
25190676ea
2
text.lua
2
text.lua
|
@ -85,7 +85,7 @@ end
|
||||||
-- draw with small line_width of 100
|
-- draw with small line_width of 100
|
||||||
|
|
||||||
function Text.draw_cursor(x, y)
|
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.rectangle('fill', x,y, 3,Line_height)
|
||||||
love.graphics.setColor(0,0,0)
|
love.graphics.setColor(0,0,0)
|
||||||
Cursor_x = x
|
Cursor_x = x
|
||||||
|
|
Loading…
Reference in New Issue
Block a user