mirror of https://github.com/kivy/kivy.git
parent
9872fe3b30
commit
b026afc125
|
@ -72,7 +72,8 @@ class ImageLoaderPIL(ImageLoaderBase):
|
|||
while True:
|
||||
img_tmp = im
|
||||
img_tmp = self._img_correct(img_tmp)
|
||||
if img_ol:
|
||||
bg = im.info.get('background', 0) == 0
|
||||
if bg and img_ol:
|
||||
# paste new frame over old so as to handle
|
||||
# transparency properly
|
||||
img_ol.paste(img_tmp, (0, 0), img_tmp)
|
||||
|
|
Loading…
Reference in New Issue