mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-12 11:34:05 +09:00
fix: spinner making same sound twice
This commit is contained in:
@@ -112,7 +112,7 @@ class UIItemSpinner(
|
|||||||
changeValueBy((mouseOnButton * 2) - 3)
|
changeValueBy((mouseOnButton * 2) - 3)
|
||||||
fboUpdateLatch = true
|
fboUpdateLatch = true
|
||||||
selectionChangeListener(value)
|
selectionChangeListener(value)
|
||||||
playHapticPushedDown()
|
// playHapticPushedDown() // changeValueBy() will play the sound
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mouseOnButton > 0 && mouseOnButton != oldMouseOnButton) {
|
if (mouseOnButton > 0 && mouseOnButton != oldMouseOnButton) {
|
||||||
|
|||||||
Reference in New Issue
Block a user