Skip to content

Commit

Permalink
更新 js.js
Browse files Browse the repository at this point in the history
  • Loading branch information
CHCAT1320 authored Oct 30, 2024
1 parent 53d6bd5 commit e2c691e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,13 @@ class Lines {
//console.log(lineData.lineRotateEventsList);
//if (lineData.lineRotateEventsList && lineData.lineRotateEventsList.length > lineData.LineRotateumber) {
if (formattedDuration > BpmToTime(lineData.lineRotateEventsValueList[1], lineData.bpm)) {
lineData.LineR = lineData.lineRotateEventsValueList[3];
lineData.LineR =0- lineData.lineRotateEventsValueList[3];
lineData.LineRotateumber += 1;
lineData.lineRotateEventsValueList = Object.values(lineData.lineRotateEventsList[lineData.LineRotateumber]) || [];
//lineData.element.style.transform = 'rotate(' + lineData.LineR + 'deg)';
//console.log('Rotate to ' + lineData.LineR + ' degrees');
} else if (formattedDuration > BpmToTime(lineData.lineRotateEventsValueList[0], lineData.bpm)) {
lineData.LineR = LinearInterpolation(
lineData.LineR =0- LinearInterpolation(
lineData.lineRotateEventsValueList[2],
lineData.lineRotateEventsValueList[3],
BpmToTime(lineData.lineRotateEventsValueList[0], lineData.bpm),
Expand Down

0 comments on commit e2c691e

Please sign in to comment.