File tree Expand file tree Collapse file tree 2 files changed +15
-7
lines changed
Intersect.Client.Framework/Gwen/Control Expand file tree Collapse file tree 2 files changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -483,12 +483,12 @@ public virtual bool IsHidden
483483 {
484484 if ( value == mHidden )
485485 {
486- ApplicationContext . CurrentContext . Logger . LogTrace (
487- "{ComponentTypeName} (\" {ComponentName}\" ) set to same visibility ({Visibility})" ,
488- GetType ( ) . GetName ( qualified : true ) ,
489- CanonicalName ,
490- ! value
491- ) ;
486+ // ApplicationContext.CurrentContext.Logger.LogTrace(
487+ // "{ComponentTypeName} (\"{ComponentName}\") set to same visibility ({Visibility})",
488+ // GetType().GetName(qualified: true),
489+ // CanonicalName,
490+ // !value
491+ // );
492492 return ;
493493 }
494494
Original file line number Diff line number Diff line change @@ -125,7 +125,15 @@ public string Title
125125 public bool IsClosable
126126 {
127127 get => ! mCloseButton . IsHidden ;
128- set => mCloseButton . IsHidden = ! value ;
128+ set
129+ {
130+ if ( value == mCloseButton . IsVisible )
131+ {
132+ return ;
133+ }
134+
135+ mCloseButton . IsVisible = value ;
136+ }
129137 }
130138
131139 /// <summary>
You can’t perform that action at this time.
0 commit comments