diff options
Diffstat (limited to 'src/__main__.py')
| -rwxr-xr-x | src/__main__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/__main__.py b/src/__main__.py index c2c8216..d95d27c 100755 --- a/src/__main__.py +++ b/src/__main__.py @@ -462,7 +462,7 @@ class Bar: @param height:int The height of the rectangle ''' self.change_colour(self.background) - self.window.fill_rectangle(self.gc, 0, 0, self.width, self.panel_height) + self.window.fill_rectangle(self.gc, x, y, width, height) self.change_colour(self.foreground) self.change_font(self.font) @@ -470,7 +470,7 @@ class Bar: ''' Fill the panel with its background colour and reset the colour and font ''' - self.clear_rectangle(0, 0, self.width, self.panel_height) + self.clear_rectangle(0, 0, self.panel_width, self.panel_height) def invalidate(self): ''' |
