File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -80,8 +80,9 @@ def __init__(
8080 self ._palette [1 ] = outline_color
8181 self ._palette [2 ] = bar_color
8282
83- self ._width = width
84- self ._height = height
83+ # _width and _height are already in use for blinka TileGrid
84+ self ._bar_width = width
85+ self ._bar_height = height
8586
8687 self ._progress_val = 0.0
8788 self .progress = self ._progress_val
@@ -146,14 +147,14 @@ def width(self):
146147 """The width of the progress bar. In pixels, includes the border.
147148
148149 """
149- return self ._width
150+ return self ._bar_width
150151
151152 @property
152153 def height (self ):
153154 """The height of the progress bar. In pixels, includes the border.
154155
155156 """
156- return self ._height
157+ return self ._bar_height
157158
158159 @fill .setter
159160 def fill (self , color ):
You can’t perform that action at this time.
0 commit comments