Fix graph error and make colors configurable

This commit is contained in:
Jordan
2021-12-05 20:35:37 -05:00
committed by jordanruthe
parent dd56d192cc
commit c3103d3b11
6 changed files with 76 additions and 35 deletions

View File

@@ -75,7 +75,6 @@ class MainPanel(MenuPanel):
image = "bed"
devname = "Heater Bed"
class_name = "graph_label_heater_bed"
rgb = [1, 0, 0]
rgb, color = self._gtk.get_temp_color("bed")
else:
s = 1
@@ -84,7 +83,6 @@ class MainPanel(MenuPanel):
s += 1
image = "heat-up"
class_name = "graph_label_sensor_%s" % s
rgb = [1, 0, 0]
rgb, color = self._gtk.get_temp_color("sensor")