diff --git a/src/Consolonia.Core/Drawing/DrawingContextImpl.cs b/src/Consolonia.Core/Drawing/DrawingContextImpl.cs index c66a2f09..649fb087 100644 --- a/src/Consolonia.Core/Drawing/DrawingContextImpl.cs +++ b/src/Consolonia.Core/Drawing/DrawingContextImpl.cs @@ -159,8 +159,7 @@ public void DrawGeometry(IBrush brush, IPen pen, IGeometryImpl geometry) // if we have strokes to draw if (streamGeometry.Strokes.Count > 0) { - if (pen == null || pen.Thickness == 0) - return; + pen = pen ?? new Pen(brush); var extractColorCheckPlatformSupported = ExtractColorOrNullWithPlatformCheck(pen, out var lineStyle); diff --git a/src/Consolonia.Themes/Templates/Controls/DialogWindow.axaml b/src/Consolonia.Themes/Templates/Controls/DialogWindow.axaml index 63afbfb3..ce3f3b30 100644 --- a/src/Consolonia.Themes/Templates/Controls/DialogWindow.axaml +++ b/src/Consolonia.Themes/Templates/Controls/DialogWindow.axaml @@ -42,49 +42,54 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + +