mirror of
https://github.com/TriliumNext/Trilium.git
synced 2025-12-10 03:53:37 -06:00
client/CSS class manager: fix a bug when handling red hues
This commit is contained in:
parent
4ebd82beeb
commit
81a37e3fc4
@ -39,7 +39,7 @@ function createClassForColor(colorString: string | null) {
|
||||
</style>`);
|
||||
|
||||
registeredClasses.add(className);
|
||||
if (hue) {
|
||||
if (hue !== undefined) {
|
||||
colorsWithHue.add(className);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user