From 3a372b74d3979cfbcdf02ef076505b0ce1bc8c0f Mon Sep 17 00:00:00 2001 From: Alfredo Monclus Date: Mon, 25 Nov 2024 13:38:10 -0300 Subject: [PATCH] refactor: thumb log message cut decimals --- panels/gcodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panels/gcodes.py b/panels/gcodes.py index a369e331..b45e0bac 100644 --- a/panels/gcodes.py +++ b/panels/gcodes.py @@ -69,7 +69,7 @@ class Panel(ScreenPanel): self.labels['path'] = Gtk.Label(label=self.loading_msg, vexpand=True, no_show_all=True) self.labels['path'].show() self.thumbsize = self._gtk.img_scale * self._gtk.button_image_scale * 2.5 - logging.info(f"Thumbsize: {self.thumbsize}") + logging.info(f"Thumbsize: {self.thumbsize:.1f}") self.flowbox = Gtk.FlowBox(selection_mode=Gtk.SelectionMode.NONE, column_spacing=0, row_spacing=0)