Feat: Add custom scroll amount (#966)

* Added slower scroll amount mousewheel like feel

* Added custom scroll amount slider

* Made changes as requested
This commit is contained in:
FedericoRossiIT
2025-06-08 18:44:18 +02:00
committed by GitHub
parent 8036101de7
commit cd34001fc3
4 changed files with 48 additions and 10 deletions

View File

@@ -40,6 +40,7 @@ import { WebtoonPageIcon } from '@/assets/icons/svg/WebtoonPageIcon.tsx';
* percentage values
*/
export enum ReaderScrollAmount {
TINY = 10,
SMALL = 25,
MEDIUM = 75,
LARGE = 95,
@@ -308,6 +309,12 @@ export const AUTO_SCROLL_SPEED = {
step: 0.5,
};
export const SCROLL_AMOUNT = {
min: 5,
max: 100,
step: 5,
};
export const READER_BLEND_MODE_VALUE_TO_DISPLAY_DATA = {
[ReaderBlendMode.DEFAULT]: {
title: 'reader.settings.custom_filter.rgba.blend_mode.default',