aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/Expandable.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-03-13 17:16:24 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-03-13 17:16:24 +0100
commitfda39ed7506551ab48dce271cb2d5e9c63f2b00c (patch)
treed0ed602830692962c044f0614639a0939caa03f6 /src/GraphicObjects/Expandable.cs
parent80dc0221c3455a50b8877f19c4a19043af0042f4 (diff)
limit to html safe color plus several ones, crowIDE wip
Diffstat (limited to 'src/GraphicObjects/Expandable.cs')
-rw-r--r--src/GraphicObjects/Expandable.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GraphicObjects/Expandable.cs b/src/GraphicObjects/Expandable.cs
index 83d91956..1920a8fe 100644
--- a/src/GraphicObjects/Expandable.cs
+++ b/src/GraphicObjects/Expandable.cs
@@ -90,7 +90,7 @@ namespace Crow
bool isExp = IsExpandable;
NotifyValueChanged ("IsExpandable", isExp);
- if (!(HasContent & isExp))
+ if (!isExp)
_isExpanded = false;
NotifyValueChanged ("IsExpanded", _isExpanded);