Browse Source

Remove unused "text" parameter to Image widget

Godzil 5 years ago
parent
commit
f5eab4eeba
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sys.py/GdUI/image.py

+ 1 - 1
sys.py/GdUI/image.py

@@ -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