Skip to content

Commit

Permalink
ok now revert it lol
Browse files Browse the repository at this point in the history
  • Loading branch information
Fleeym committed Jun 24, 2024
1 parent 70bffb0 commit a90e235
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions src/EditorUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -260,18 +260,17 @@ struct $modify(EditorUI) {
this->passThroughKeyDown(key, Modifier::Alt);
});
}
// 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);
// }
// }
// });
});
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;
}
Expand Down

0 comments on commit a90e235

Please sign in to comment.