Skip to content

Commit 189c091

Browse files
authored
Merge pull request #198 from Gnathonic/develop
Release v1.5.6
2 parents 12ad76c + dda2378 commit 189c091

5 files changed

Lines changed: 12 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## [1.5.6] - 2026-03-20
4+
5+
### Fixed
6+
7+
- **Continuous scroll drag stutter** - Fixed a lag spike when starting to drag in continuous scroll modes, especially noticeable on mobile devices
8+
39
## [1.5.5] - 2026-03-20
410

511
### Added

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mokuro-reader",
3-
"version": "1.5.5",
3+
"version": "1.5.6",
44
"private": true,
55
"scripts": {
66
"dev": "vite dev",
@@ -82,6 +82,7 @@
8282
]
8383
},
8484
"lint-staged": {
85-
"*.{js,ts,svelte,md,json,css,html}": "prettier --write"
85+
"*.{js,ts,svelte,md,json,css,html}": "prettier --check",
86+
"*.{js,ts,svelte}": "eslint"
8687
}
8788
}

src/lib/components/Reader/HorizontalScrollReader.svelte

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,6 @@
505505
if (!wasDrag && dx * dx + dy * dy > DRAG_THRESHOLD * DRAG_THRESHOLD) {
506506
wasDrag = true;
507507
window.getSelection()?.removeAllRanges();
508-
document.body.style.userSelect = 'none';
509508
}
510509
511510
if (wasDrag) {
@@ -537,7 +536,6 @@
537536
} catch {
538537
/* ignore */
539538
}
540-
document.body.style.userSelect = '';
541539
}
542540
isDragging = false;
543541
}

src/lib/components/Reader/VerticalScrollReader.svelte

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,6 @@
452452
if (!wasDrag && dx * dx + dy * dy > DRAG_THRESHOLD * DRAG_THRESHOLD) {
453453
wasDrag = true;
454454
window.getSelection()?.removeAllRanges();
455-
document.body.style.userSelect = 'none';
456455
}
457456
458457
if (wasDrag) {
@@ -485,7 +484,6 @@
485484
} catch {
486485
/* ignore */
487486
}
488-
document.body.style.userSelect = '';
489487
}
490488
isDragging = false;
491489
}

src/lib/util/sync/provider-manager.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,9 @@ class ProviderManager {
176176
for (const provider of this.providerRegistry.values()) {
177177
try {
178178
await provider.logout();
179-
} catch { /* ignore */ }
179+
} catch {
180+
/* ignore */
181+
}
180182
}
181183
}
182184

0 commit comments

Comments
 (0)