Skip to content

Commit

Permalink
Bumped version to v2.5
Browse files Browse the repository at this point in the history
Also fixed focus (& texture) staying on buttons after mouse click
  • Loading branch information
StavWasPlayZ committed May 14, 2023
1 parent f27006b commit 4c51e78
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
9 changes: 7 additions & 2 deletions public/updates.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}


Expand Down

0 comments on commit 4c51e78

Please sign in to comment.