We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29b02de commit 4191146Copy full SHA for 4191146
1 file changed
Source/VirtualTrees.pas
@@ -11988,7 +11988,7 @@ function TVTColors.GetColor(const Index: TVTColorEnum): TColor;
11988
begin
11989
// Only try to fetch the color via StyleServices if theses are enabled
11990
// Return default/user defined color otherwise
11991
- if FOwner.VclStyleEnabled then
+ if not (csDesigning in FOwner.ComponentState) { see issue #1185 } and FOwner.VclStyleEnabled then
11992
11993
// If the ElementDetails are not defined, fall back to the SystemColor
11994
case Index of
0 commit comments