Skip to content

Commit

Permalink
v1.1.5.4, fix a scrollbar issue
Browse files Browse the repository at this point in the history
  • Loading branch information
JavidPack committed Mar 1, 2021
1 parent 5f4b69d commit 629b5c3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v2

# Mod Browser integration
- uses: JavidPack/[email protected]
- uses: JavidPack/[email protected].1
with:
STEAMID64: ${{secrets.STEAMID64}}
MODBROWSERPASSPHRASE: ${{secrets.MODBROWSERPASSPHRASE}}
Expand Down
3 changes: 2 additions & 1 deletion BossChecklistUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,8 @@ public override void Draw(SpriteBatch spriteBatch) {
}

internal static void OnScrollWheel_FixHotbarScroll(UIScrollWheelEvent evt, UIElement listeningElement) {
Main.LocalPlayer.ScrollHotbar(Terraria.GameInput.PlayerInput.ScrollWheelDelta / 120);
if (Main.LocalPlayer.itemAnimation == 0 && Main.LocalPlayer.itemTime == 0 && Main.LocalPlayer.reuseDelay == 0)
Main.LocalPlayer.ScrollHotbar(Terraria.GameInput.PlayerInput.ScrollWheelDelta / 120);
}

private Texture2D ResizeImage(Texture2D texture2D, int desiredWidth, int desiredHeight) {
Expand Down
2 changes: 1 addition & 1 deletion build.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
author = SheepishShepherd, jopojelly
version = 1.1.5.3
version = 1.1.5.4
displayName = Boss Checklist
homepage = http://forums.terraria.org/index.php?threads/boss-checklist-in-game-progression-checklist.50668/
hideCode = false
Expand Down

0 comments on commit 629b5c3

Please sign in to comment.