Sublime Forum

Still no draw_minimap_border (solved)


It seems that the minimap border has been fixed but it isn’t working for me – is there any way I’m doing something wrong here?



This works for me locally with the same settings:


What build of Sublime are you running? Something else that might get in the way is this:

    // Set to true to draw a border around the visible rectangle on the minimap.
    // The color of the border will be determined by the "minimapBorder" key in
    // the color scheme
    "draw_minimap_border": false,

This is the default value of the preference, but the comment mentions that the color comes from the color scheme, so that could be having an effect here (for example if it doesn’t provide that color or its the same as the background).



Thanks for your reply! I’m using Build 3211 with the predawn them, “Packages/Predawn/predawn.tmTheme”. I found this snippet,



Is it possible to modify this to the string value you have (which I can see!)?



That is indeed the source of your issue. In using that theme I can see that there’s a minimap border there, but it’s nearly invisible (best seen in a screenshot zoom :smile:).

The easiest/safest/best way to adjust this would be with a color scheme customization file. This is covered in more detail in the documentation on color schemes (particularly the section on customization), but the short version is that you can create a file in your User package that will be combined with the underlying theme file at load time, so that you can adjust some parts of the color scheme while leaving the rest alone.

In this case, if you were to create Packages/User/predawn.sublime-color-scheme with the following content, the minimap border would turn white. The change should happen instantly when you save the file so that you can see the changes you’re making applied directly.

    "globals": {
        "minimap_border": "#FFFFFF",

For a task like this I would recommend PackageDev (I also just recommend it in general, it makes a lot of things better). With that package you can choose PackageDev: Edit Current Color Scheme from the command palette to open a window with your theme on the left and the customized file on the right, so that you can just make the required changes and save the file.

1 Like


Ah, thank you so much, expecially for making your directions so specific. I now see a border.

1 Like