1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-09-16 08:56:40 +02:00

Doc: Fix sync-scroll comment to refer a correct URL (#5868)

This commit is contained in:
Kenichi Kobayashi
2021-12-19 00:16:00 +09:00
committed by GitHub
parent fe2eb25acb
commit 3a6380fa92

View File

@@ -154,7 +154,7 @@ const translateLE_ = (codeMirror: any, percent: number, l2e: boolean) => {
// the translation functions between Editor's scroll percent and line-based scroll
// percent. They are used for synchronous scrolling between Editor and Viewer.
// To see the detail of synchronous scrolling, refer the following design document.
// <s> Replace me! https://github.com/laurent22/joplin/pull/5512#issuecomment-931277022</s>
// https://github.com/laurent22/joplin/pull/5826#issuecomment-986032165
const translateScrollPercentL2E = (cm: any, lPercent: number) => {
return translateLE_(cm, lPercent, true);
};