Skip to content

Commit

Permalink
feat: optimized user experience
Browse files Browse the repository at this point in the history
  • Loading branch information
Eling486 committed Aug 4, 2022
1 parent 361d32f commit 2ee1ca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/paino_roll.vue
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ export default {
if (this.midi_json.tracks[0].notes[0]) {
this.ContentWrapDOM.scrollTop =
this.key_height *
(125 - (this.midi_json.tracks[0].notes[0].midi - 12));
(120 - (this.midi_json.tracks[0].notes[0].midi - 12));
}
},
readMidi(file: any) {
Expand Down

0 comments on commit 2ee1ca7

Please sign in to comment.