mirror of
https://github.com/jiojciojsioe3/a3cjroijsiojiorj.git
synced 2024-11-15 15:31:51 +08:00
Do not restart animation with d-pad
This commit is contained in:
parent
4e9bf237a1
commit
76e56736f7
@ -1325,7 +1325,7 @@ class SongSelect{
|
|||||||
var songStarsArray = (currentUra ? currentSong.stars[4] : currentSong.stars[i]).toString().split(" ")
|
var songStarsArray = (currentUra ? currentSong.stars[4] : currentSong.stars[i]).toString().split(" ")
|
||||||
var songStars = songStarsArray[0]
|
var songStars = songStarsArray[0]
|
||||||
var songBranch = songStarsArray[1] === "B"
|
var songBranch = songStarsArray[1] === "B"
|
||||||
var elapsedMS = this.state.screenMS > this.state.moveMS ? this.state.screenMS : this.state.moveMS
|
var elapsedMS = this.state.screenMS > this.state.moveMS || !songSel ? this.state.screenMS : this.state.moveMS
|
||||||
var fade = ((ms - elapsedMS) % 2000) / 2000
|
var fade = ((ms - elapsedMS) % 2000) / 2000
|
||||||
if(songBranch && fade > 0.25 && fade < 0.75){
|
if(songBranch && fade > 0.25 && fade < 0.75){
|
||||||
this.draw.verticalText({
|
this.draw.verticalText({
|
||||||
|
Loading…
Reference in New Issue
Block a user