Skip to content

Commit

Permalink
fix: Slider widget scrolls correctly again
Browse files Browse the repository at this point in the history
  • Loading branch information
lucyydotp committed Mar 25, 2024
1 parent 69f576f commit 865d449
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public class SliderWidget(


override fun mouseScrolled(d: Double, e: Double, f: Double, g: Double): Boolean {
currentIndex = (currentIndex + sign(f).toInt()).coerceIn(offsets.indices)
currentIndex = (currentIndex + sign(g).toInt()).coerceIn(offsets.indices)
return true
}

Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import org.gradle.accessors.dm.LibrariesForLibs

val VERSION = "1.3.0"
val VERSION = "1.3.1"

allprojects {
group = "com.noxcrew.sheeplib"
Expand Down

0 comments on commit 865d449

Please sign in to comment.