Sublime Forum

Display box in the right column really difficult to spot

#1

Hello dear support team.

I was trying to make use of the right column (with all the text summary), but when the file is packed with text, the scrollable box/rectangle is very difficult to spot due to the low contrast. I’m uploading a screenshot to make myself clear.


As you can see, the box is on the middle (approximately), but is not obvious (especially for people like me, who doesn’t have a good sight :slight_smile: ).

Is there any way to highlight it? Or… maybe… for example, redefine the borders to make it orange and shiny, so I can see it immediately.

Any ideas are welcome. Love the product by the way.

Cheers.

0 Likes

#2

Basically, follow these steps:

You’re looking for the minimap_control, and its viewport_color and viewport_opacity properties.

0 Likes

#3

Here’s how I have it now:

{
        "class": "minimap_control",
        "settings": ["always_show_minimap_viewport"],
        "viewport_color": [1, 255, 1, 0.28],
        "viewport_opacity": 0,
    },
    {
        "class": "minimap_control",
        "settings": ["!always_show_minimap_viewport"],
        "viewport_color": [1, 255, 1, 0.28],
        "viewport_opacity": { "target": 0.4, "speed": 4.0, "interpolation": "smoothstep" },
    },
    {
        "class": "minimap_control",
        "attributes": ["hover"],
        "settings": ["!always_show_minimap_viewport"],
        "viewport_color": [1, 255, 1, 0.28],
        "viewport_opacity": { "target": 0.4, "speed": 4.0, "interpolation": "smoothstep" },
    },

It shows an ugly semi transparent green box, which is absolutely perfect for me, because now I can see it.

Thanks for the help :slight_smile:

0 Likes