It's a bit dogshit, but it is what it is
This commit is contained in:
parent
78629a6301
commit
d2f973bb3b
1 changed files with 4 additions and 1 deletions
|
@ -77,4 +77,7 @@ class FuelGauge(Dial):
|
|||
self.draw_mark(cr, min_radius, 0.87, self.max_value - level)
|
||||
|
||||
def draw_fg(self, cr: cairo.Context):
|
||||
pass
|
||||
min_radius = 0.8
|
||||
max_radius = 0.9
|
||||
|
||||
self.draw_needle(cr, min_radius, max_radius, self.MAX_VALUE - self.value)
|
||||
|
|
Loading…
Add table
Reference in a new issue