client/CSS class manager: fix a bug when handling red hues

This commit is contained in:
Adorian Doran 2025-11-30 19:34:31 +02:00
parent 4ebd82beeb
commit 81a37e3fc4

View File

@ -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);
} }
} }