job_status: show acceleration as integer

usually is in the thousands, it shouldn't matter
This commit is contained in:
alfrix authored and Alfredo Monclus committed 2022-09-02 19:58:35 -03:00
1 parent 657f1b133f
commit 54764be269
1 file changed
+1 -1
+1 -1
View File
@@ -565,7 +565,7 @@ class JobStatusPanel(ScreenPanel):
self.labels['temp_grid'].attach(self.extruder_button[self.current_extruder], 0, 0, 1, 1)
self._screen.show_all()
with contextlib.suppress(KeyError):
self.labels['max_accel'].set_text(f"{data['toolhead']['max_accel']} mm/s²")
self.labels['max_accel'].set_text(f"{data['toolhead']['max_accel']:.0f} mm/s²")
with contextlib.suppress(KeyError):
self.labels['advance'].set_text(f"{data['extruder']['pressure_advance']:.2f}")