|
@@ -1412,13 +1412,13 @@ export const scrollViewNote = (resetTop?: boolean) => {
|
|
|
musicScrollTop = (offsetTop - state.headTopHeight - 30) * state.musicZoom
|
|
|
musicAndSelection.scrollTo({
|
|
|
top: (offsetTop - state.headTopHeight - 30) * state.musicZoom,
|
|
|
- behavior: "auto",
|
|
|
+ behavior: "smooth",
|
|
|
});
|
|
|
} else {
|
|
|
musicScrollTop = 0
|
|
|
musicAndSelection.scrollTo({
|
|
|
top: 0,
|
|
|
- behavior: "auto",
|
|
|
+ behavior: "smooth",
|
|
|
});
|
|
|
}
|
|
|
};
|