Skip to content

Commit 0db08f4

Browse files
committed
client/note color picker: decrease the debouncer interval
1 parent e9796c9 commit 0db08f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/client/src/menus/custom-items/NoteColorPicker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ function CustomColorCell(props: ColorCellProps) {
125125
const isSafari = useRef(/^((?!chrome|android).)*safari/i.test(navigator.userAgent));
126126

127127
useEffect(() => {
128-
colorInputDebouncer.current = new Debouncer(500, (color) => {
128+
colorInputDebouncer.current = new Debouncer(250, (color) => {
129129
callbackRef.current?.(color);
130130
setPickedColor(color);
131131
});

0 commit comments

Comments
 (0)