main_menu and temp: Fix extruder colors when there are multiple extruders

This commit is contained in:
alfrix
2022-02-12 21:26:55 -03:00
parent ef5873d095
commit bf67129528
2 changed files with 4 additions and 1 deletions

View File

@@ -463,7 +463,7 @@ class KlipperScreen(Gtk.Window):
self.gtk.color_list = style_options['graph_colors']
for i in range(len(style_options['graph_colors']['extruder']['colors'])):
num = "" if i == 0 else i+1
num = "" if i == 0 else i
css_data += "\n.graph_label_extruder%s {border-left-color: #%s}" % (
num,
style_options['graph_colors']['extruder']['colors'][i]