Skip to content

Commit

Permalink
delinting
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeclayton committed May 10, 2024
1 parent c36a2b7 commit 570f32f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/FancyMouse/Common/Helpers/DrawingHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ private static void DrawRaisedBorder(
Graphics graphics, BoxStyle boxStyle, BoxBounds boxBounds)
{
var borderStyle = boxStyle.BorderStyle;
if ((borderStyle.Horizontal == 0) && (borderStyle.Vertical == 0))
if ((borderStyle.Horizontal == 0) || (borderStyle.Vertical == 0))
{
return;
}
Expand Down
2 changes: 1 addition & 1 deletion src/FancyMouse/Common/Models/Drawing/BoxBounds.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public sealed class BoxBounds
*/

public BoxBounds(
internal BoxBounds(
RectangleInfo outerBounds,
RectangleInfo marginBounds,
RectangleInfo borderBounds,
Expand Down
4 changes: 2 additions & 2 deletions src/FancyMouse/Common/Models/Layout/PreviewLayout.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public sealed class Builder
{
public Builder()
{
this.Screens = new List<RectangleInfo>();
this.Screens = new();
this.ScreenshotBounds = new();
}

Expand Down Expand Up @@ -72,7 +72,7 @@ public PreviewLayout Build()
public PreviewLayout(
PreviewStyle previewStyle,
RectangleInfo virtualScreen,
IList<RectangleInfo> screens,
List<RectangleInfo> screens,
int activatedScreenIndex,
RectangleInfo formBounds,
BoxBounds previewBounds,
Expand Down

0 comments on commit 570f32f

Please sign in to comment.