Skip to content
This repository has been archived by the owner on Nov 27, 2020. It is now read-only.

Commit

Permalink
Tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
lukesdm committed Oct 26, 2020
1 parent 573541c commit fda14cb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ImageCommentsExtension/CommentImage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public ImageAttributes()
Opacity = 1.0;
}

public bool IsEquals(object obj)
public bool IsEqual(object obj)
{
if (obj == null)
return false;
Expand Down
2 changes: 1 addition & 1 deletion ImageCommentsExtension/ImageAdornmentManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ private void CreateVisuals(ITextViewLine line, int lineNumber, string absFilenam
CommentImage image = Images.ContainsKey(lineNumber) ? Images[lineNumber] : null;
if (image != null)
{
if (!image.Attributes.IsEquals(parsedImgData)) // URL different, so set new source
if (!image.Attributes.IsEqual(parsedImgData))
{
image.TrySet(directory, parsedImgData, out loadingMessage, () => CreateVisuals(line, lineNumber, absFilename));
}
Expand Down
Empty file removed noop
Empty file.

0 comments on commit fda14cb

Please sign in to comment.