# HG changeset patch # User Chris Cannam # Date 1530714827 -3600 # Node ID 769d7890203b1984c7439d0c2aeaee074649de01 # Parent be935f9b2ae6f19a3bb0ae22259d663a9e3bc210 Layers such as time-value layers with ColourDistinguishes property should use the dark background when a bright colour is selected. This is how it was always supposed to work, I think, but I broke it so long ago that this "fix" might itself come across as a surprising breaking change diff -r be935f9b2ae6 -r 769d7890203b view/View.cpp --- a/view/View.cpp Thu Jun 28 14:48:35 2018 +0100 +++ b/view/View.cpp Wed Jul 04 15:33:47 2018 +0100 @@ -511,7 +511,7 @@ } } - if (int(maxSignificance) >= int(Layer::ColourAndBackgroundSignificant)) { + if (int(maxSignificance) >= int(Layer::ColourDistinguishes)) { return !mostSignificantHasDarkBackground; } else { return !darkPalette;