Skip to content

Commit

Permalink
added #47 comment
Browse files Browse the repository at this point in the history
  • Loading branch information
SrBrahma committed Apr 28, 2022
1 parent ca04ae1 commit 974cf96
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,7 @@ function getShadow({
{/* Corners */}
{/* The anchor for the svgs path is the top left point in the corner square.
The starting point is the clockwise external arc init point. */}
{/* Checking topLeftShadowEtc > 0 due to https://github.com/SrBrahma/react-native-shadow-2/issues/47. */}
{activeCorners.topLeft && topLeftShadow > 0 && <Svg width={topLeftShadow + additional} height={topLeftShadow + additional}
style={{ position: 'absolute', top: -distance, left: -distance, ...rtlStyle }}
>
Expand Down

0 comments on commit 974cf96

Please sign in to comment.