1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-11 18:24:43 +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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);
};