From 8ab12140a3ec9312fc2bab03a0c1b4eee553f8d7 Mon Sep 17 00:00:00 2001 From: esterTion Date: Sun, 28 Mar 2021 18:08:01 +0800 Subject: [PATCH] fix --- BrowserNoEditor.htm | 2 +- main.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/BrowserNoEditor.htm b/BrowserNoEditor.htm index a499441..eb609c3 100644 --- a/BrowserNoEditor.htm +++ b/BrowserNoEditor.htm @@ -12,7 +12,7 @@

 
  
- 4.0
+ 4.0

diff --git a/main.js b/main.js index 0071ad0..4a5a9d1 100644 --- a/main.js +++ b/main.js @@ -131,7 +131,7 @@ fetch('Table/MusicParameterTable.json').then(r=>r.json()).then(r => { let title = r[i].MusicMessage, artist = r[i].ArtistMessage if (title.length > 15) title = title.substr(0, 10) + '...' if (artist.length > 15) artist = artist.substr(0, 10) + '...' - option.textContent = `${r[i].AssetDirectory} ${title} - ${artist} (${diffi.join('/')})` + option.textContent = `${r[i].AssetDirectory} (${diffi.join('/')}) ${title} - ${artist}` }) }).catch(e => { console.error('failed loading music table', e) @@ -648,6 +648,7 @@ window.stop = function () { startedHoldReverseList = {} drawForNextFrame = true sflOffset = 0 + sfl = 1 } window.setPlaybackTime = function (time = 0) { currentTs = Math.round(time * 1000)