diff --git a/build.gradle b/build.gradle index 1c9109cd..56f2199b 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ plugins { id 'org.parchmentmc.librarian.forgegradle' version '1.+' } -version = '2.4.1' +version = '2.5' group = 'com.cstav.genshinstrument' // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = 'genshinstrument-1.19.4' diff --git a/public/updates.json b/public/updates.json index 00f29b56..e66ad1a0 100644 --- a/public/updates.json +++ b/public/updates.json @@ -13,11 +13,16 @@ "2.3": "- More texture fixes\n- Better API implementation", "2.4": "- Minor techincal fixes", - "2.4.1": "- Fixed instrument screen being present after item removal\n- API tweaks & fixes" + "2.4.1": "- Fixed instrument screen being present after item removal\n- API tweaks & fixes", + + "2.5": "- Update to version 1.19.4\n- GUI keyboard navigation" }, "promos": { "1.19.3-latest": "2.4.1", - "1.19.3-recommended": "2.4.1" + "1.19.3-recommended": "2.4.1", + + "1.19.4-latest": "2.5", + "1.19.4-recommended": "2.5" } } \ No newline at end of file diff --git a/src/main/java/com/cstav/genshinstrument/client/gui/screens/instrument/partial/note/NoteButton.java b/src/main/java/com/cstav/genshinstrument/client/gui/screens/instrument/partial/note/NoteButton.java index b2543ef7..fedc6c12 100644 --- a/src/main/java/com/cstav/genshinstrument/client/gui/screens/instrument/partial/note/NoteButton.java +++ b/src/main/java/com/cstav/genshinstrument/client/gui/screens/instrument/partial/note/NoteButton.java @@ -267,16 +267,10 @@ public void onPress() { play(); } - // TODO delete the below section @Override - public boolean mouseClicked(double pMouseX, double pMouseY, int pButton) { - // locked = false; - return super.mouseClicked(pMouseX, pMouseY, pButton); - } - @Override - public boolean keyReleased(int pKeyCode, int pScanCode, int pModifiers) { - // locked = false; - return super.keyReleased(pKeyCode, pScanCode, pModifiers); + public boolean mouseReleased(double pMouseX, double pMouseY, int pButton) { + setFocused(false); + return super.mouseReleased(pMouseX, pMouseY, pButton); }