Simpler thumbnail selection border
This commit is contained in:
parent
3e4f63e3e2
commit
2bad53c33d
7
thumbs.c
7
thumbs.c
|
@ -375,11 +375,8 @@ void tns_highlight(tns_t *tns, win_t *win, int n, Bool hl) {
|
|||
else
|
||||
col = win->bgcol;
|
||||
|
||||
win_draw_rect(win, win->pm, t->x - 3, t->y - 3, t->w + 6, t->h + 6,
|
||||
False, 4, col);
|
||||
if (hl)
|
||||
win_draw_rect(win, win->pm, t->x - 3, t->y - 3, t->w + 5, t->h + 5,
|
||||
False, 1, win->black);
|
||||
win_draw_rect(win, win->pm, t->x - 4, t->y - 4, t->w + 8, t->h + 8,
|
||||
False, 2, col);
|
||||
}
|
||||
|
||||
win_draw(win);
|
||||
|
|
Loading…
Reference in a new issue