This commit is contained in:
hexyoungs
2020-09-27 22:42:36 +08:00
committed by borgmanJeremy
parent 8a962c25a1
commit f2101a3296

View File

@@ -28,7 +28,7 @@ bool ColorUtils::colorIsDark(const QColor& c)
if (getColorLuma(c) <= 0.60) {
isWhite = true;
}
return isWhite;
return !isWhite;
}
QColor ColorUtils::contrastColor(const QColor& c)