tweak Luminance black/white limit to better suit new "color table"
This commit is contained in:
@@ -89,7 +89,7 @@ Color ColorCoding::GetColor(int c)
|
|||||||
|
|
||||||
Qt::GlobalColor ColorCoding::GetUISelectorColor(const Color &c)
|
Qt::GlobalColor ColorCoding::GetUISelectorColor(const Color &c)
|
||||||
{
|
{
|
||||||
if (c.GetRoughLuminance() > 0.66) {
|
if (c.GetRoughLuminance() > 0.40) {
|
||||||
return Qt::black;
|
return Qt::black;
|
||||||
} else {
|
} else {
|
||||||
return Qt::white;
|
return Qt::white;
|
||||||
|
|||||||
Reference in New Issue
Block a user