Fix resize in some unknown condition, thanks eijebong.
This commit is contained in:
parent
88ae8a68a2
commit
68e3cdcd49
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ class ImageWin(Win):
|
|||
self._resize(height, width, y, x)
|
||||
if self._image is None:
|
||||
return
|
||||
_display_avatar(width, height)
|
||||
self._display_avatar(width, height)
|
||||
|
||||
def refresh(self, data):
|
||||
self._win.clear()
|
||||
|
|
Loading…
Reference in a new issue