vektah / CodeGlance

Intelij IDEA plugin for displaying a code mini-map similar to the one found in Sublime
BSD 2-Clause "Simplified" License
1.06k stars 104 forks source link

#bug? Setting background picture with opacity hides the "selected" area #257

Open WilliamStam opened 3 years ago

WilliamStam commented 3 years ago

Thanks to jetbrains not letting us control the background colour of the window without a theme (loading a theme just to set the bg colour has caused me headaches so im just resorting to using a "tiled" background colour image, finally a "darker" background ide! )

this however caused me to notice this issue

seems the "viewport" area is "hidden" by the image. the "viewport" colour setting doesnt seem to do anything here either (when a background image is selected and opacity to full -> settings -> appearance & behaviour -> appearance -> background image).

image

when the IDE (phpstorm in this case but same for pycharm) loads up i can see the red on codeglance for a fraction of a second then the background image loads in and its gone.

in my above screenshot it looks like the block is empty./ but if i lower the opacity of my background image then we get this

image

the red starts coming through. but the "shape" behind it is very very dull. (i dont use red as my highlight colour, just doing this to make it more visible)

not sure if this will be even possible to fix. not being able to immediately spot where the viewport is is somewhat hurting my workflow a bit at the moment.

image

thanks for an awesome plugin!