diff --git a/src/layout/Desktop.ts b/src/layout/Desktop.ts index 6bc8188..d361309 100644 --- a/src/layout/Desktop.ts +++ b/src/layout/Desktop.ts @@ -89,7 +89,7 @@ class Desktop { public scrollCenterRange(range: Desktop.Range) { const windowCenter = range.getLeft() + range.getWidth() / 2; const screenCenter = this.scrollX + this.tilingArea.width / 2; - this.adjustScroll(Math.round(windowCenter - screenCenter), false); + this.adjustScroll(Math.round(windowCenter - screenCenter), true); } public autoAdjustScroll() {