Mercurial > vim
annotate pixmaps/tb_shell.xpm @ 34279:7f84a834055a v9.1.0077
patch 9.1.0077: Unnecessary call to redraw_for_cursorline() in nv_mousescroll()
Commit: https://github.com/vim/vim/commit/3f1b5312e0fa0089f255bf9c0c3b27590552119e
Author: zeertzjq <zeertzjq@outlook.com>
Date: Tue Feb 6 10:43:36 2024 +0100
patch 9.1.0077: Unnecessary call to redraw_for_cursorline() in nv_mousescroll()
Problem: The call to redraw_for_cursorline() in nv_mousescroll() is
unnecessary because redraw_for_cursorline() only sets redraw
type to UPD_VALID, and all code paths in do_mousescroll()
already set redraw type to at least UPD_VALID.
Solution: Remove call to redraw_for_cursorline() in nv_mousescroll().
(zeertzjq)
closes: #13979
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 06 Feb 2024 11:00:07 +0100 |
parents | 3fc0f57ecb91 |
children |
rev | line source |
---|---|
7 | 1 /* XPM */ |
2 static char * tb_shell_xpm[] = { | |
3 /* width height ncolors cpp [x_hot y_hot] */ | |
4 "18 18 6 1 0 0", | |
5 /* colors */ | |
6 " s none m none c none", | |
7 ". s iconColor1 m black c #000000", | |
8 "X s iconGray6 m black c #636363", | |
9 "o s iconGray2 m none c #bdbdbd", | |
10 "O s iconColor2 m none c #FFFFFF", | |
11 "+ s bottomShadowColor m black c #5D6069", | |
12 /* pixels */ | |
13 " ", | |
14 " ... ... ", | |
15 " .XoXXXoX. ", | |
16 " .oOoX.XoOo. ", | |
17 " .XoOoXoOoX. ", | |
18 " .Xoooo.ooooX. ", | |
19 " .Xo.XOoXoOX.oX. ", | |
20 " .oooXOo.oOXooo. ", | |
21 " .oOo.XOXOX.oOo.+ ", | |
22 " .XoOo.o.o.oOoX.+ ", | |
23 " .XooXoooXoOX.+ ", | |
24 " .XoooOoooX.+ ", | |
25 " .ooOOOoo.+ ", | |
26 " ..XoooX..+ ", | |
27 " .XoooooooX.+ ", | |
28 " ...........+ ", | |
29 " ++++++++++ ", | |
30 " "}; |