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__(
80
80
self ._palette [1 ] = outline_color
81
81
self ._palette [2 ] = bar_color
82
82
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
85
86
86
87
self ._progress_val = 0.0
87
88
self .progress = self ._progress_val
@@ -146,14 +147,14 @@ def width(self):
146
147
"""The width of the progress bar. In pixels, includes the border.
147
148
148
149
"""
149
- return self ._width
150
+ return self ._bar_width
150
151
151
152
@property
152
153
def height (self ):
153
154
"""The height of the progress bar. In pixels, includes the border.
154
155
155
156
"""
156
- return self ._height
157
+ return self ._bar_height
157
158
158
159
@fill .setter
159
160
def fill (self , color ):
You can’t perform that action at this time.
0 commit comments