Apply "auto scroll speed" limits to slider input

This commit is contained in:
schroda
2024-12-27 04:53:25 +01:00
parent 6dd6fd8c51
commit 3ae0207bed
2 changed files with 4 additions and 4 deletions

View File

@@ -282,7 +282,7 @@ export const CONTINUOUS_READING_MODE_TO_SCROLL_DIRECTION: Record<
};
export const AUTO_SCROLL_SPEED = {
MIN: 0.5,
MAX: 60,
STEP: 0.5,
min: 0.5,
max: 60,
step: 0.5,
};

View File

@@ -221,7 +221,7 @@ export function SourceMangas() {
const {
settings: { hideLibraryEntries },
} = useMetadataServerSettings();
console.log('@asdf', locationKey);
const [sourceGridLayout] = useLocalStorage('source-grid-layout', GridLayout.Compact);
const [query] = useQueryParam('query', StringParam);
const [currentFiltersToApply, setCurrentFiltersToApply] = useSessionStorage<IPos[] | undefined>(