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:
parent
9232b5bf87
commit
9c239d1fab
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue