From 1510f6b3eb3ba10c52902af535dad9555417f068 Mon Sep 17 00:00:00 2001 From: RandomityGuy <31925790+RandomityGuy@users.noreply.github.com> Date: Tue, 16 Jul 2024 00:45:36 +0530 Subject: [PATCH] forgot this --- src/gui/OptionsDlg.hx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/gui/OptionsDlg.hx b/src/gui/OptionsDlg.hx index 52ea42c9..ecfecd85 100644 --- a/src/gui/OptionsDlg.hx +++ b/src/gui/OptionsDlg.hx @@ -374,9 +374,10 @@ class OptionsDlg extends GuiImage { remapBtn.position = new Vector(552, current - 6); remapBtn.txtCtrl.text.text = "Edit"; remapBtn.setExtent(new Vector(152, 49)); - remapBtn.pressedAction = (sender) -> { - MarbleGame.canvas.setContent(new TouchCtrlsEditGui()); - } + if (!pause) + remapBtn.pressedAction = (sender) -> { + MarbleGame.canvas.setContent(new TouchCtrlsEditGui()); + } generalPanel.addChild(remapBtn); }