Made eraser outline icons in Selector 2px thick instead of 1px.
This commit is contained in:
parent
fe3703328b
commit
732e00b189
1 changed files with 6 additions and 6 deletions
|
|
@ -6561,30 +6561,30 @@ void draw_erasers(void)
|
||||||
dest.x = x;
|
dest.x = x;
|
||||||
dest.y = y;
|
dest.y = y;
|
||||||
dest.w = sz;
|
dest.w = sz;
|
||||||
dest.h = 1;
|
dest.h = 2;
|
||||||
|
|
||||||
SDL_FillRect(screen, &dest,
|
SDL_FillRect(screen, &dest,
|
||||||
SDL_MapRGB(screen->format, 0, 0, 0));
|
SDL_MapRGB(screen->format, 0, 0, 0));
|
||||||
|
|
||||||
dest.x = x;
|
dest.x = x;
|
||||||
dest.y = y + sz - 1;
|
dest.y = y + sz - 2;
|
||||||
dest.w = sz;
|
dest.w = sz;
|
||||||
dest.h = 1;
|
dest.h = 2;
|
||||||
|
|
||||||
SDL_FillRect(screen, &dest,
|
SDL_FillRect(screen, &dest,
|
||||||
SDL_MapRGB(screen->format, 0, 0, 0));
|
SDL_MapRGB(screen->format, 0, 0, 0));
|
||||||
|
|
||||||
dest.x = x;
|
dest.x = x;
|
||||||
dest.y = y;
|
dest.y = y;
|
||||||
dest.w = 1;
|
dest.w = 2;
|
||||||
dest.h = sz;
|
dest.h = sz;
|
||||||
|
|
||||||
SDL_FillRect(screen, &dest,
|
SDL_FillRect(screen, &dest,
|
||||||
SDL_MapRGB(screen->format, 0, 0, 0));
|
SDL_MapRGB(screen->format, 0, 0, 0));
|
||||||
|
|
||||||
dest.x = x + sz - 1;
|
dest.x = x + sz - 2;
|
||||||
dest.y = y;
|
dest.y = y;
|
||||||
dest.w = 1;
|
dest.w = 2;
|
||||||
dest.h = sz;
|
dest.h = sz;
|
||||||
|
|
||||||
SDL_FillRect(screen, &dest,
|
SDL_FillRect(screen, &dest,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue