Skip to content

Commit 2a1ee9e

Browse files
committed
2.2081 support
1 parent 5f72c1d commit 2a1ee9e

File tree

3 files changed

+13
-10
lines changed

3 files changed

+13
-10
lines changed

changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# 1.2.4
2+
- 2.2081 Support
3+
14
# 1.2.3
25
- Fix a crash when an invalid directory exists
36

mod.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"geode": "4.10.0",
2+
"geode": "5.0.0-alpha.1",
33
"gd": {
4-
"win": "2.2074",
5-
"android": "2.2074",
6-
"mac": "2.2074",
7-
"ios": "2.2074"
4+
"win": "2.2081",
5+
"android": "2.2081",
6+
"mac": "2.2081",
7+
"ios": "2.2081"
88
},
9-
"version": "v1.2.3",
9+
"version": "v1.2.4",
1010
"id": "alphalaneous.editorsounds",
1111
"name": "Editor Sounds",
1212
"developer": "Alphalaneous",

src/main.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -728,8 +728,8 @@ class $modify(MyEditorUI, EditorUI) {
728728
EditorUI::onGroupUp(sender);
729729
}
730730

731-
void keyDown(enumKeyCodes keycode) {
732-
EditorUI::keyDown(keycode);
731+
void keyDown(enumKeyCodes keycode, double t) {
732+
EditorUI::keyDown(keycode, t);
733733

734734
if (auto soundRes = SoundHandler::get().getSoundByKey(keycode)) {
735735
auto& sound = soundRes.unwrap();
@@ -749,8 +749,8 @@ class $modify(MyEditorUI, EditorUI) {
749749
}
750750
}
751751

752-
void keyUp(enumKeyCodes keycode) {
753-
EditorUI::keyUp(keycode);
752+
void keyUp(enumKeyCodes keycode, double t) {
753+
EditorUI::keyUp(keycode, t);
754754
for (auto& [_, sound] : SoundHandler::get().m_registeredSounds) {
755755
for (auto& bindData : sound.m_soundDefaults.keys) {
756756
if (!bindData.getByKey(keycode)) continue;

0 commit comments

Comments
 (0)