From 6d64f9440e1b75fadd8bab03f80dadb734bfe137 Mon Sep 17 00:00:00 2001 From: zkk <1007518571@qq.com> Date: Mon, 15 Jul 2024 09:51:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=8D=E8=BD=ACZ=E8=BD=B4+=E4=B8=8E-?= =?UTF-8?q?=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- panels/move.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/panels/move.py b/panels/move.py index b7fa3b96..70b000cb 100644 --- a/panels/move.py +++ b/panels/move.py @@ -82,11 +82,11 @@ class Panel(ScreenPanel): grid.attach(self.buttons["y+"], 1, 0, 1, 1) grid.attach(self.buttons["y-"], 1, 1, 1, 1) if self._config.get_config()["main"].getboolean("invert_z", False): - grid.attach(self.buttons["z+"], 3, 1, 1, 1) - grid.attach(self.buttons["z-"], 3, 0, 1, 1) - else: grid.attach(self.buttons["z+"], 3, 0, 1, 1) grid.attach(self.buttons["z-"], 3, 1, 1, 1) + else: + grid.attach(self.buttons["z+"], 3, 1, 1, 1) + grid.attach(self.buttons["z-"], 3, 0, 1, 1) grid.attach(self.buttons["home"], 0, 0, 1, 1) grid.attach(self.buttons["motors_off"], 2, 0, 1, 1)