forked from CreatBot/CreatBotKlipperScreen
Make Main_menu and Temp_panel look equal
This commit is contained in:
@@ -144,9 +144,9 @@ class HeaterGraph(Gtk.DrawingArea):
|
||||
ctx.fill()
|
||||
|
||||
def graph_lines(self, ctx, gsize, max_num):
|
||||
nscale = 5
|
||||
nscale = 10
|
||||
while (max_num / nscale) > 5:
|
||||
nscale += 5
|
||||
nscale += 10
|
||||
# nscale = math.floor((max_num / 10) / 4) * 10
|
||||
r = int(max_num/nscale) + 1
|
||||
hscale = (gsize[1][1] - gsize[0][1]) / (r * nscale)
|
||||
|
Reference in New Issue
Block a user