From 54764be26971bd8fc38b48ba0d286e7c7baa6690 Mon Sep 17 00:00:00 2001 From: alfrix Date: Wed, 31 Aug 2022 05:58:10 -0300 Subject: [PATCH] job_status: show acceleration as integer usually is in the thousands, it shouldn't matter --- panels/job_status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panels/job_status.py b/panels/job_status.py index 4590f976..88d507ce 100644 --- a/panels/job_status.py +++ b/panels/job_status.py @@ -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}")