Prevent copy of top border drawing when mousing over widgets with blurred parent widget backgrounds

I have no idea why this works
This commit is contained in:
Charles Dang 2016-09-11 13:42:12 +11:00
parent 9232b5bf87
commit 9c239d1fab

View file

@ -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);
}
}