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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user