docs: color block display bug (#46207)

This commit is contained in:
小林不是coder 2023-12-01 23:20:25 +08:00 committed by GitHub
parent 77d1328f5e
commit c210e17eae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ const ColorPaletteTool: React.FC = () => {
text += locale.saturation((s * 100).toFixed(2));
}
if (b * 100 < primaryMinBrightness) {
text += locale.brightness((s * 100).toFixed(2));
text += locale.brightness((b * 100).toFixed(2));
}
}
return (