Skip to content

Commit 629b5c3

Browse files
committed
v1.1.5.4, fix a scrollbar issue
1 parent 5f4b69d commit 629b5c3

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- uses: actions/checkout@v2
1313

1414
# Mod Browser integration
15-
- uses: JavidPack/tModLoaderPublishIntegration@v0.11.8
15+
- uses: JavidPack/tModLoaderPublishIntegration@v0.11.8.1
1616
with:
1717
STEAMID64: ${{secrets.STEAMID64}}
1818
MODBROWSERPASSPHRASE: ${{secrets.MODBROWSERPASSPHRASE}}

BossChecklistUI.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,8 @@ public override void Draw(SpriteBatch spriteBatch) {
210210
}
211211

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

216217
private Texture2D ResizeImage(Texture2D texture2D, int desiredWidth, int desiredHeight) {

build.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
author = SheepishShepherd, jopojelly
2-
version = 1.1.5.3
2+
version = 1.1.5.4
33
displayName = Boss Checklist
44
homepage = http://forums.terraria.org/index.php?threads/boss-checklist-in-game-progression-checklist.50668/
55
hideCode = false

0 commit comments

Comments
 (0)