Skip to content

Defect: Gradient Shadow Crashes #4

@psalzAppDev

Description

@psalzAppDev

Hello,

great work! I really love your shadows and I am already integrating them into my new app. I noticed that the gradient shadows cause a "Bad Access" crash, both in the preview as well as when used in my app. Unfortunately the crash log is not really helpful.

The offending line is ".fill(gradient)" in the body of InnerShadowLayer of the GradientShadow.

Maybe it has something to do with the protocol GradientStyle that is not correctly interpreted as a ShapeStyle by the runtime?

Looking forward to a possible fix since I was not able to find a solution myself - at least for now.

Please let me know if you can reproduce the crash, otherwise I can send you my crash logs.

Cheers,
Peter

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions