Skip to content

Commit

Permalink
修复一处可能会出现的 floorPosition 计算错误的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
MisaLiu committed Oct 22, 2022
1 parent f56d448 commit 9737d0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chart/judgeline.js
Expand Up @@ -104,7 +104,7 @@ export default class Judgeline
sameTimeSpeedEventAlreadyExist[eventTime] = true;
});

if (eventLayerIndex === 0)
if (eventLayerIndex === 0 && eventLayer.speed[0].startTime > 0)
{
eventLayer.speed.unshift({
startTime : 1 - 100,
Expand Down

0 comments on commit 9737d0e

Please sign in to comment.