|
@@ -4,7 +4,7 @@ import pygame
|
|
|
from .widget import Widget
|
|
|
|
|
|
class Image(Widget):
|
|
|
- def __init__(self, x=0, y=0, width=1, height=1, text="", bg_color=None, image=None, auto_resize=True):
|
|
|
+ def __init__(self, x=0, y=0, width=1, height=1, bg_color=None, image=None, auto_resize=True):
|
|
|
super().__init__(x=x, y=y, width=width, height=height, bg_color=bg_color)
|
|
|
self._Image = image
|
|
|
self._AutoResize = auto_resize
|