mirror of
https://github.com/zadam/trilium.git
synced 2025-11-21 08:04:24 +01:00
client/note color picker: dismiss the menu when a color is clicked
This commit is contained in:
parent
1b2d922c3f
commit
d42f911df9
@ -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")}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user