Skip to content

Commit

Permalink
* Tesing
Browse files Browse the repository at this point in the history
  • Loading branch information
PWagner1 committed Dec 2, 2023
1 parent 2bfc63c commit e1f602c
Show file tree
Hide file tree
Showing 3 changed files with 134 additions and 125 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public Image? Image

public void ResetImage() => Image = DEFAULT_IMAGE;

[DefaultValue(UACShieldIconSize.ExtraSmall), Description(@"")]
[DefaultValue(UACShieldIconSize.Small), Description(@"")]
public UACShieldIconSize UACShieldIconSize
{
get => _uacShieldIconSize;
Expand All @@ -140,15 +140,15 @@ public CommandLinkImageValues(NeedPaintHandler needPaint)

_displayUACShield = false;

_uacShieldIconSize = UACShieldIconSize.Medium;
_uacShieldIconSize = UACShieldIconSize.Small;

_image = DEFAULT_IMAGE;
//_image = DEFAULT_IMAGE;

_transparencyKey = Color.Empty;
//_transparencyKey = Color.Empty;

//ResetImage();
ResetImage();

//ResetImageTransparentColor();
ResetImageTransparentColor();
}

#endregion
Expand All @@ -160,7 +160,7 @@ public CommandLinkImageValues(NeedPaintHandler needPaint)
public override bool IsDefault => (DisplayUACShield.Equals(false) &&
Image!.Equals(DEFAULT_IMAGE) &&
ImageTransparentColor.Equals(Color.Empty) &&
UACShieldIconSize.Equals(UACShieldIconSize.Medium));
UACShieldIconSize.Equals(UACShieldIconSize.Small));

#endregion

Expand Down
Loading

0 comments on commit e1f602c

Please sign in to comment.