feat: further simplify pure rectangle.

This commit is contained in:
rabbitism
2024-02-06 11:34:37 +08:00
parent 26386e8236
commit 662cbc3403
2 changed files with 13 additions and 18 deletions

View File

@@ -77,7 +77,7 @@ public partial class OverlayDialogHost: Canvas
};
if (modal)
{
rec[!Shape.FillProperty] = this[!OverlayMaskBrushProperty];
rec[!PureRectangle.BackgroundProperty] = this[!OverlayMaskBrushProperty];
}
else if(canCloseOnClick)
{