Clean up history to fork from esterTion's repo, add version number, fix license copyrights
This commit is contained in:
parent
2f22eb21aa
commit
dc18dd7795
|
@ -0,0 +1 @@
|
||||||
|
.idea/
|
4
LICENSE
4
LICENSE
|
@ -1,6 +1,8 @@
|
||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2021 esterTion
|
Copyright (c) 2021-2023 esterTion
|
||||||
|
Copyright (c) 2023 WenqiOfficial
|
||||||
|
Copyright (c) 2023 yellowberryHN
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|
8
main.js
8
main.js
|
@ -1,5 +1,7 @@
|
||||||
//window.addEventListener('load', function () {
|
//window.addEventListener('load', function () {
|
||||||
|
|
||||||
|
const mpVersion = '1.2.0';
|
||||||
|
|
||||||
let maxR
|
let maxR
|
||||||
|
|
||||||
/** @type {CanvasRenderingContext2D} */
|
/** @type {CanvasRenderingContext2D} */
|
||||||
|
@ -1092,7 +1094,9 @@ function render(now) {
|
||||||
`${playedNotesCount[0]} (${playedNotesCount[1]}) / ${comboInfo[0]} (${comboInfo[1]})`,
|
`${playedNotesCount[0]} (${playedNotesCount[1]}) / ${comboInfo[0]} (${comboInfo[1]})`,
|
||||||
`${playInfoStat.min}:${playInfoStat.sec}.${playInfoStat.milisec} (${playInfoStat.section}/${playInfoStat.beat})`,
|
`${playInfoStat.min}:${playInfoStat.sec}.${playInfoStat.milisec} (${playInfoStat.section}/${playInfoStat.beat})`,
|
||||||
`BPM: ${playInfoStat.bpm}`,
|
`BPM: ${playInfoStat.bpm}`,
|
||||||
`SFL: ${playInfoStat.sfl}`
|
`SFL: ${playInfoStat.sfl}`,
|
||||||
|
``,
|
||||||
|
`v${mpVersion}`
|
||||||
]
|
]
|
||||||
if (reversing) {
|
if (reversing) {
|
||||||
playInfoText.push('Reversing')
|
playInfoText.push('Reversing')
|
||||||
|
@ -1579,4 +1583,6 @@ bgmCtr.addEventListener('volumeChange', v => {
|
||||||
bgmGain.gain.value = v
|
bgmGain.gain.value = v
|
||||||
})
|
})
|
||||||
|
|
||||||
|
document.title += ` v${mpVersion}`
|
||||||
|
|
||||||
//})
|
//})
|
Loading…
Reference in New Issue