We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37b811c commit 737c128Copy full SHA for 737c128
Source/VirtualTrees.Colors.pas
@@ -142,7 +142,7 @@ function TVTColors.GetColor(const Index : TVTColorEnum) : TColor;
142
begin
143
//Only try to fetch the color via StyleServices if theses are enabled
144
//Return default/user defined color otherwise
145
- if TreeView.VclStyleEnabled then
+ if not (csDesigning in TreeView.ComponentState) { see issue #1185 } and TreeView.VclStyleEnabled then
146
147
//If the ElementDetails are not defined, fall back to the SystemColor
148
case Index of
0 commit comments