mirror of
https://github.com/zadam/trilium.git
synced 2025-11-21 08:04:24 +01:00
client/note color picker: decrease the debouncer interval
This commit is contained in:
parent
e9796c9a35
commit
0db08f4c62
@ -125,7 +125,7 @@ function CustomColorCell(props: ColorCellProps) {
|
||||
const isSafari = useRef(/^((?!chrome|android).)*safari/i.test(navigator.userAgent));
|
||||
|
||||
useEffect(() => {
|
||||
colorInputDebouncer.current = new Debouncer(500, (color) => {
|
||||
colorInputDebouncer.current = new Debouncer(250, (color) => {
|
||||
callbackRef.current?.(color);
|
||||
setPickedColor(color);
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user