Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inset box shadow fixes #285

Merged
merged 3 commits into from Jun 9, 2016
Merged

Inset box shadow fixes #285

merged 3 commits into from Jun 9, 2016

Commits on Jun 7, 2016

  1. Fix inset box shadows with blur

    In commit d570574 ("Rework box shadows to support border radii
    properly ..."), the conditional of the box shadow fragment shader that
    handles inset shadows was lost. Restore it.
    anderco committed Jun 7, 2016
  2. Don't draw inset box shadow edges when blur radius is 0

    The box shadow shader will produce the wrong result in that case, and
    there is actually no edges to fill.
    anderco committed Jun 7, 2016

Commits on Jun 9, 2016

  1. Take clip mode into account when calculating box shadow rectangle

    A positive spread value makes an inset shadow smaller, so take the clip
    mode into account when computing the box shadow size.
    
    Fixes #183
    
    v2: Don't introduce extra variable.
    anderco committed Jun 9, 2016
You can’t perform that action at this time.