Shorten drum hit duration
This commit is contained in:
parent
e1b8b45d88
commit
386b8905ac
@ -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%"
|
||||||
|
Loading…
Reference in New Issue
Block a user