nsxiv2bad53c
Simpler thumbnail selection border
+2 −5
1 file changed
- M thumbs.c +2 −5
| @@ -375,11 +375,8 @@ void tns_highlight(tns_t *tns, win_t *win, int n, Bool hl) { | |||
| 375 | 375 | else | |
| 376 | 376 | col = win->bgcol; | |
| 377 | 377 | ||
| 378 | − | win_draw_rect(win, win->pm, t->x - 3, t->y - 3, t->w + 6, t->h + 6, | |
| 379 | − | False, 4, col); | |
| 380 | − | if (hl) | |
| 381 | − | win_draw_rect(win, win->pm, t->x - 3, t->y - 3, t->w + 5, t->h + 5, | |
| 382 | − | False, 1, win->black); | |
| 378 | + | win_draw_rect(win, win->pm, t->x - 4, t->y - 4, t->w + 8, t->h + 8, | |
| 379 | + | False, 2, col); | |
| 383 | 380 | } | |
| 384 | 381 | ||
| 385 | 382 | win_draw(win); | |