mirror of
https://github.com/zadam/trilium.git
synced 2025-12-01 04:54:25 +01: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>`);
|
</style>`);
|
||||||
|
|
||||||
registeredClasses.add(className);
|
registeredClasses.add(className);
|
||||||
if (hue) {
|
if (hue !== undefined) {
|
||||||
colorsWithHue.add(className);
|
colorsWithHue.add(className);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user