Commit Graph

9 Commits

Author SHA1 Message Date
Kovid Goyal
b92246448d Fix a regression in the previous release that caused the cursor trail to not be hidden properly
In refactoring the trail shader, I guess I forgot to premultiply the
output color.

Fixes #9039
2025-09-29 20:35:12 +05:30
Rick Choi
d543d2fafd fix bug that character under cursor trail not visible 2024-12-24 19:45:10 +09:00
Rick Choi
16d84f499f fix bug that trail not visible when vertical move 2024-12-24 00:06:35 +09:00
Kovid Goyal
4839233676 Restore cursor trail exclusion in cursor region but without branching 2024-12-12 08:48:41 +05:30
Kovid Goyal
4b12bffcb1 Remove unnecessary branch in trail shader
Branches have an outsize penalty in shaders as does discard. We don't
need the check that the fragment is in the region anyway ans the
rendering pipeline takes care of that for us, I think. At least I can
see no visual difference with it removed.

@jinhwanlazy please review
2024-12-11 21:14:57 +05:30
Rick Choi
8f19a9ce97 fade out cursor trail where cursor is hidden 2024-10-27 13:55:53 +09:00
Rick Choi
fbd596a61f set trail color with cursor bg color 2024-10-13 18:10:24 +09:00
Rick Choi
89b9c6da8b don't draw cursor trail over the real cursor 2024-10-13 16:37:52 +09:00
Rick Choi
c3eb48fc8a add cursor trail 2024-10-12 19:55:48 +09:00