From 8a881e03af8a1e7a9c84118834ada90a1fcd31ce Mon Sep 17 00:00:00 2001 From: Pablo Gil Date: Mon, 16 Aug 2021 18:32:46 +0200 Subject: [PATCH] tweak Luminance black/white limit to better suit new "color table" --- app/ui/colorcoding.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/ui/colorcoding.cpp b/app/ui/colorcoding.cpp index e989db6c9..4449cdac0 100644 --- a/app/ui/colorcoding.cpp +++ b/app/ui/colorcoding.cpp @@ -89,7 +89,7 @@ Color ColorCoding::GetColor(int c) Qt::GlobalColor ColorCoding::GetUISelectorColor(const Color &c) { - if (c.GetRoughLuminance() > 0.66) { + if (c.GetRoughLuminance() > 0.40) { return Qt::black; } else { return Qt::white;