Skip to content

Commit

Permalink
Prevent copy of top border drawing when mousing over widgets with blu…
Browse files Browse the repository at this point in the history
…rred parent widget backgrounds

I have no idea why this works
  • Loading branch information
Vultraz committed Sep 11, 2016
1 parent 9232b5b commit 9c239d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/core/canvas.cpp
Expand Up @@ -1463,7 +1463,7 @@ void tcanvas::blit(surface& surf, SDL_Rect rect)
SDL_Rect r = rect;
surface s = get_surface_portion(surf, r);
s = blur_surface(s, blur_depth_, false);
sdl_blit(s, nullptr, surf, &rect);
sdl_blit(s, nullptr, surf, &r);
}
}

Expand Down

0 comments on commit 9c239d1

Please sign in to comment.