From 7aef18681141ae9976341adad4ff889d3d0df774 Mon Sep 17 00:00:00 2001 From: Fleeym <61891787+Fleeym@users.noreply.github.com> Date: Mon, 24 Jun 2024 21:37:34 +0300 Subject: [PATCH] fix: temporarily disable pan editor keybind --- mod.json | 2 +- src/EditorUI.cpp | 21 +++++++++++---------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/mod.json b/mod.json index 0fe8595..8b58874 100644 --- a/mod.json +++ b/mod.json @@ -1,5 +1,5 @@ { - "geode": "3.0.0-beta.1", + "geode": "3.0.0", "gd": { "win": "2.206" }, diff --git a/src/EditorUI.cpp b/src/EditorUI.cpp index d131373..f22d73b 100644 --- a/src/EditorUI.cpp +++ b/src/EditorUI.cpp @@ -260,16 +260,17 @@ struct $modify(EditorUI) { this->passThroughKeyDown(key, Modifier::Alt); }); } - this->defineKeybind("robtop.geometry-dash/pan-editor", [this, lel](bool down) { - if (lel->m_playbackMode != PlaybackMode::Playing) { - s_allowPassThrough = true; - if (down) { - this->keyDown(KEY_Space); - } else { - this->keyUp(KEY_Space); - } - } - }); + // Temporarily disabled until Tuliphook fix + // this->defineKeybind("robtop.geometry-dash/pan-editor", [this, lel](bool down) { + // if (lel->m_playbackMode != PlaybackMode::Playing) { + // s_allowPassThrough = true; + // if (down) { + // this->keyDown(KEY_Space); + // } else { + // this->keyUp(KEY_Space); + // } + // } + // }); }); return true;