=> 9a7d70b84e36d7687185e76ec4053de7c9a838b6
[1mdiff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c[m [1mindex 6b83578d..423286ea 100644[m [1m--- a/src/ui/documentwidget.c[m [1m+++ b/src/ui/documentwidget.c[m [36m@@ -2195,15 +2195,7 @@[m [mstatic iBool processEvent_DocumentWidget_(iDocumentWidget *d, const SDL_Event *e[m }[m }[m else if (ev->type == SDL_MOUSEWHEEL && isHover_Widget(w)) {[m [31m- float acceleration = 1.0f;[m const iInt2 mouseCoord = mouseCoord_Window(get_Window());[m [31m- if (prefs_App()->hoverOutline &&[m [31m- contains_Widget(constAs_Widget(d->scroll), mouseCoord)) {[m [31m- const int outHeight = outlineHeight_DocumentWidget_(d);[m [31m- if (outHeight > height_Rect(bounds_Widget(w))) {[m [31m- acceleration = (float) size_GmDocument(d->doc).y / (float) outHeight;[m [31m- }[m [31m- }[m #if defined (iPlatformApple)[m /* On macOS, we handle both trackpad and mouse events. We expect SDL to identify[m which device is sending the event. */[m [36m@@ -2217,7 +2209,7 @@[m [mstatic iBool processEvent_DocumentWidget_(iDocumentWidget *d, const SDL_Event *e[m else {[m wheel.x = 0;[m }[m [31m- scroll_DocumentWidget_(d, -wheel.y * get_Window()->pixelRatio * acceleration);[m [32m+[m[32m scroll_DocumentWidget_(d, -wheel.y * get_Window()->pixelRatio);[m scrollWideBlock_DocumentWidget_(d, mouseCoord, wheel.x * get_Window()->pixelRatio, 0);[m }[m else[m [36m@@ -2235,7 +2227,7 @@[m [mstatic iBool processEvent_DocumentWidget_(iDocumentWidget *d, const SDL_Event *e[m }[m smoothScroll_DocumentWidget_([m d,[m [31m- -3 * amount * lineHeight_Text(paragraph_FontId) * acceleration,[m [32m+[m[32m -3 * amount * lineHeight_Text(paragraph_FontId),[m smoothDuration_DocumentWidget_ *[m /* accelerated speed for repeated wheelings */[m (!isFinished_Anim(&d->scrollY) && pos_Anim(&d->scrollY) < 0.25f ? 0.5f : 1.0f));[m
text/gemini; charset=utf-8
This content has been proxied by September (ba2dc).