Skip to content

Commit bc8f86d

Browse files
authored
Merge pull request ststeiger#295 from CGvine/master
drop .NET 5 condition in XGraphics.cs
2 parents 90eb7db + 1c16027 commit bc8f86d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

PdfSharpCore/Drawing/XGraphics.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,13 +207,11 @@ public sealed class XGraphics : IDisposable
207207
form.AssociateGraphics(this);
208208

209209
_gsStack = new GraphicsStateStack(this);
210-
#if NET5_0
211210
_drawGraphics = false;
212211
if (form.Owner != null)
213212
_renderer = new XGraphicsPdfRenderer(form, this);
214213
_pageSize = form.Size;
215214
Initialize();
216-
#endif
217215
}
218216

219217
/// <summary>

0 commit comments

Comments
 (0)