mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 12:24:38 +03:00
Thumbnail scrubber improvements (#4081)
* Remove deps from useDebounce hook * Add useThrottle hook * Throttle preview scrubber * Scrubber improvements
This commit is contained in:
@@ -212,7 +212,6 @@ export const LightboxComponent: React.FC<IProps> = ({
|
||||
|
||||
const disableInstantTransition = useDebounce(
|
||||
() => setInstantTransition(false),
|
||||
[],
|
||||
400
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user