Nasller / CodeGlancePro

Minimap run on jetbrains platform.
Apache License 2.0
201 stars 22 forks source link

Add viewport border, or increase unfocused viewport background color saturation #48

Closed dominicpalmer closed 1 year ago

dominicpalmer commented 1 year ago

The viewport background colour has low saturation when unfocused. The saturation increases on hover, and increases further on click.

CodeGlance only allows one viewport colour to be set for all themes. So for people who use both light and dark themes (and switch regularly), it's hard to find a middle ground background colour that will keep the viewport clearly visible when it's unfocused.

Example with the viewport colour set to #01579B (blue), while using a light theme. Left to right is unfocused, focused and clicked:

image

Although this blue is clearly visible when using a dark theme, it's hard to use with a light theme, particularly when unfocused.

Ideas:

  1. Add a fixed border around the viewport, the colour of which can be set by the user by an option.
  2. Add saturation slider options for the viewport background colour.

For example, Visual Studio's implementation of the minimap is lacking a viewport background colour, but is still usable because of well defined borders:

image

Nasller commented 1 year ago

OK, I will consider the option of the fixed border.

Nasller commented 1 year ago

Hi,try this setting viewport border thickness > 0 in config. CodeGlance Pro-1.5.2.zip

dominicpalmer commented 1 year ago

Perfect! Thanks for the quick response. Will this make a release?

image

Nasller commented 1 year ago

Yes,will release in the next week