Skip to content

Commit

Permalink
Automated JetBrains cleanup
Browse files Browse the repository at this point in the history
Co-authored-by:  <[email protected]>
  • Loading branch information
github-actions[bot] committed Nov 20, 2024
1 parent e073ab7 commit 1f07aee
Show file tree
Hide file tree
Showing 3 changed files with 180 additions and 177 deletions.
3 changes: 2 additions & 1 deletion src/Consolonia.Core/Drawing/DrawingContextImpl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,8 @@ private void DrawLineInternal(IPen pen, Line line)
if (pen.Thickness.IsNearlyEqual(UnderlineThickness) || pen.Thickness.IsNearlyEqual(StrikethroughThickness))
{
if (line.Vertical)
throw new NotSupportedException("Vertical strikethrough or underline text decorations is not supported.");
throw new NotSupportedException(
"Vertical strikethrough or underline text decorations is not supported.");

// horizontal lines with thickness larger than one are text decorations
ApplyTextDecorationLineInternal(pen, line);
Expand Down
Loading

0 comments on commit 1f07aee

Please sign in to comment.