Shorten drum hit duration

This commit is contained in:
LoveEevee 2018-10-06 17:53:39 +03:00
parent e1b8b45d88
commit 386b8905ac

View File

@ -874,7 +874,7 @@ class View{
this.touchDrumDiv.style.width = drumWidth + "px" this.touchDrumDiv.style.width = drumWidth + "px"
this.touchDrumDiv.style.height = drumHeight + "px" this.touchDrumDiv.style.height = drumHeight + "px"
} }
if(this.touch > ms - 150){ if(this.touch > ms - 100){
if(!this.drumPadding){ if(!this.drumPadding){
this.drumPadding = true this.drumPadding = true
this.touchDrumImg.style.paddingTop = "1%" this.touchDrumImg.style.paddingTop = "1%"