only_probes: dim toward light grey if light colorscheme is in use

This commit is contained in:
Stefan Frederik 2022-11-07 14:03:27 +01:00
parent faaa79d35a
commit 8f055ebb5f
1 changed files with 5 additions and 1 deletions

View File

@ -3302,7 +3302,11 @@ void draw(void)
rebuild_selected_array();
if(has_x) {
Iterator_ctx ctx;
if(xctx->only_probes) build_colors(-1.5, 0);
if(xctx->only_probes) {
if(tclgetboolvar("dark_colorscheme")) build_colors(-1.5, 0);
else build_colors(1.5, 0);
}
if(xctx->draw_pixmap)
XFillRectangle(display, xctx->save_pixmap, xctx->gc[BACKLAYER], xctx->areax1, xctx->areay1,
xctx->areaw, xctx->areah);