mirror of
https://github.com/YACReader/yacreader
synced 2026-04-12 15:49:53 -04:00
Fix hdpi trackpad scrolling when scroll animations are enabled.
Some checks failed
Build / Initialization (push) Has been cancelled
Build / Code Format Validation (push) Has been cancelled
Build / Linux (Qt6) (push) Has been cancelled
Build / Linux (Qt6 + 7zip) (push) Has been cancelled
Build / macOS (Qt6 Universal) (push) Has been cancelled
Build / Windows x64 (Qt6) (push) Has been cancelled
Build / Windows ARM64 (Qt6) (push) Has been cancelled
Build / Docker amd64 Image (push) Has been cancelled
Build / Docker arm64 Image (push) Has been cancelled
Build / Publish Dev Builds (push) Has been cancelled
Build / Publish Release (push) Has been cancelled
Build / Publish YACReader10 Pre-release Builds (push) Has been cancelled
Some checks failed
Build / Initialization (push) Has been cancelled
Build / Code Format Validation (push) Has been cancelled
Build / Linux (Qt6) (push) Has been cancelled
Build / Linux (Qt6 + 7zip) (push) Has been cancelled
Build / macOS (Qt6 Universal) (push) Has been cancelled
Build / Windows x64 (Qt6) (push) Has been cancelled
Build / Windows ARM64 (Qt6) (push) Has been cancelled
Build / Docker amd64 Image (push) Has been cancelled
Build / Docker arm64 Image (push) Has been cancelled
Build / Publish Dev Builds (push) Has been cancelled
Build / Publish Release (push) Has been cancelled
Build / Publish YACReader10 Pre-release Builds (push) Has been cancelled
This commit is contained in:
@ -8,6 +8,7 @@ Version counting is based on semantic versioning (Major.Feature.Patch)
|
||||
* Add support for continuous scroll mode.
|
||||
* Fix the translator.
|
||||
* Add Lanczos interpolation for image scaling. You can control the method used via the settings under `Image adjustments`.
|
||||
* Fix hdpi trackpad scrolling when scroll animations are enabled.
|
||||
|
||||
### YACReaderLibrary
|
||||
* Navigating between comics in the metadata editor no longer copies fields from the previous comic into ones that have no value set. To edit shared metadata across multiple comics at once, select them all and use the bulk edit dialog.
|
||||
|
||||
@ -797,6 +797,10 @@ void Viewer::wheelEventTrackpad(QWheelEvent *event)
|
||||
{
|
||||
auto delta = event->pixelDelta();
|
||||
|
||||
// Treat pixel-based scrolling as direct manipulation, not as an animation target.
|
||||
horizontalScroller->stop();
|
||||
verticalScroller->stop();
|
||||
|
||||
// Apply delta to horizontal scrollbar
|
||||
if (delta.x() != 0) {
|
||||
int newHorizontalValue = horizontalScrollBar()->value() - delta.x();
|
||||
|
||||
@ -50,6 +50,7 @@ YACReader::WhatsNewDialog::WhatsNewDialog(QWidget *parent)
|
||||
" • Add support for continuous scroll mode<br/>"
|
||||
" • Fix the translator<br/>"
|
||||
" • Add Lanczos interpolation for image scaling. You can control the method used via the settings under <i>Image adjustments</i><br/>"
|
||||
" • Fix hdpi trackpad scrolling when scroll animations are enabled<br/>"
|
||||
"<br/>"
|
||||
"<span style=\"font-weight:600\">YACReaderLibrary</span><br/>"
|
||||
" • Navigating between comics in the metadata editor no longer copies fields from the previous comic into ones that have no value set. To edit shared metadata across multiple comics at once, select them all and use the bulk edit dialog<br/>"
|
||||
|
||||
Reference in New Issue
Block a user