|
|
|
@ -362,7 +362,7 @@ namespace Avalonia.Skia |
|
|
|
|
|
|
|
foreach (var boxShadow in boxShadows) |
|
|
|
{ |
|
|
|
if (!boxShadow.IsEmpty && !boxShadow.IsInset) |
|
|
|
if (!boxShadow.IsDefault && !boxShadow.IsInset) |
|
|
|
{ |
|
|
|
using (var shadow = BoxShadowFilter.Create(_boxShadowPaint, boxShadow, _currentOpacity)) |
|
|
|
{ |
|
|
|
@ -418,7 +418,7 @@ namespace Avalonia.Skia |
|
|
|
|
|
|
|
foreach (var boxShadow in boxShadows) |
|
|
|
{ |
|
|
|
if (!boxShadow.IsEmpty && boxShadow.IsInset) |
|
|
|
if (!boxShadow.IsDefault && boxShadow.IsInset) |
|
|
|
{ |
|
|
|
using (var shadow = BoxShadowFilter.Create(_boxShadowPaint, boxShadow, _currentOpacity)) |
|
|
|
{ |
|
|
|
|