gadenbuie / rsthemes

🔮 Full RStudio IDE and Syntax Themes
https://www.garrickadenbuie.com/project/rsthemes/
Other
593 stars 44 forks source link

Ensure cursor appears behind text #53

Closed gadenbuie closed 3 years ago

gadenbuie commented 3 years ago

An alternative fix for the issue pointed out in #52 by @jmbuhr where the normal mode cursor appears on top of the text layer and hides the text beneath it. Rather than making the cursor transparent, this PR moves the cursor layer below the text layer.

I removed the opacity: 0.5 property from .normal_mode .ace_cursor since this property is overwritten by the blinking animation.

We could still adjust the transparency by setting $ui_cursor_normal_mode to a semi-transparent color (ui_cursor_normal_mode argument in rstheme()). But I personally prefer the stronger cursor color.