浏览代码

Remove unused "text" parameter to Image widget

Godzil 5 年之前
父节点
当前提交
f5eab4eeba
共有 1 个文件被更改,包括 1 次插入1 次删除
  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