mirror of
https://github.com/zadam/trilium.git
synced 2025-12-16 21:29:56 +01:00
client/note color picker: dismiss the menu when a color is clicked
This commit is contained in:
@@ -67,8 +67,7 @@ export default function NoteColorPicker(props: NoteColorPickerProps) {
|
|||||||
}
|
}
|
||||||
}, [note, currentColor]);
|
}, [note, currentColor]);
|
||||||
|
|
||||||
return <div className="note-color-picker"
|
return <div className="note-color-picker">
|
||||||
onClick={(e) => {e.stopPropagation()}}>
|
|
||||||
|
|
||||||
<ColorCell className="color-cell-reset"
|
<ColorCell className="color-cell-reset"
|
||||||
tooltip={t("note-color.clear-color")}
|
tooltip={t("note-color.clear-color")}
|
||||||
|
|||||||
Reference in New Issue
Block a user