switch to less stuttery timing method

This commit is contained in:
msk
2023-09-29 17:04:02 -07:00
parent 2a6e64dbfd
commit 0dfb606216
3 changed files with 31 additions and 18 deletions
+1 -1
View File
@@ -124,7 +124,7 @@ namespace WacK.Scenes
double time = bgmController.GetPlaybackPosition() + AudioServer.GetTimeSinceLastMix() - AudioServer.GetOutputLatency();
var nPos = noteDisplay.Position;
nPos.Y = ((float)time * scrollPxPerSec) + 1920;
nPos.Y = (bgmController.CurTime * scrollPxPerSec) + 1910;
noteDisplay.Position = nPos;
scrollDisplay.Position = nPos;
}