System/Core/Compositor: Fix off-by-ones when drawing win border shadow
This commit is contained in:
parent
f71505a004
commit
36a74204bf
1 changed files with 2 additions and 2 deletions
|
@ -996,13 +996,13 @@ U0 @compositor_blit_window_backing_stores()
|
|||
// Bottom shadow
|
||||
Line2D(Compositor.ctx, win_list->window->x + 1,
|
||||
win_list->window->y + win_list->window->height + 1,
|
||||
win_list->window->x + win_list->window->width + 2,
|
||||
win_list->window->x + win_list->window->width + 1,
|
||||
win_list->window->y + win_list->window->height + 1,
|
||||
Compositor.theme.color.active_border);
|
||||
// Right shadow
|
||||
Line2D(Compositor.ctx,
|
||||
win_list->window->x - 1 + win_list->window->width + 2,
|
||||
win_list->window->y + 1,
|
||||
win_list->window->y,
|
||||
win_list->window->x - 1 + win_list->window->width + 2,
|
||||
win_list->window->y + win_list->window->height + 1,
|
||||
Compositor.theme.color.active_border);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue