Vacapetr patch 1 (#14)
* adjust the display for a lower resolution/800x480/ string shortening / long string caused the display to shift at a lower resolution. (panel job_status )
This commit is contained in:
parent
127237fd76
commit
ca9960871d
@ -206,4 +206,4 @@ class KlippyGtk:
|
||||
def formatTemperatureString(temp, target):
|
||||
if (target > temp-2 and target < temp+2) or round(target,0) == 0:
|
||||
return str(round(temp,2)) + "°C" #°C →"
|
||||
return str(round(temp,2)) + "°C → " + str(round(target,2)) + "°C"
|
||||
return str(round(temp)) + " → " + str(round(target)) + "°C"
|
||||
|
Loading…
x
Reference in New Issue
Block a user