mirror of
https://github.com/fergalmoran/flameshot.git
synced 2026-01-07 01:23:58 +00:00
fix: #994
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user