Skip to content

Implement DropShadow effect. - #392

Merged
simeoncran merged 3 commits into
masterfrom
DropShadows
Nov 24, 2020
Merged

simeoncran merged 3 commits into
masterfrom
DropShadows

Conversation

@simeoncran

Copy link
Copy Markdown
Contributor

This is currently turned off, however we do everything except adding the shadow to the LayerVisual so that the code is being exercised.
I have not output any issues yet for the cases we don't handle because we don't know how long before LayerVisual is fixed, and the set of issues might need changing when LayerVisual is finally working.

This is currently turned off, however we do everything except adding the shadow to the LayerVisual so that the code is being exercised.
I have not output any issues yet for the cases we don't handle because we don't know how long before LayerVisual is fixed, and the set of issues might need changing when LayerVisual is finally working.
@simeoncran
simeoncran requested a review from a team as a code owner November 23, 2020 22:17
CreateAnimatableParser((in LottieJsonElement element) => element.AsDouble() ?? 0);

static readonly AnimatableParser<Opacity> s_animatableOpacityParser = CreateAnimatableParser(ParseOpacity);
static readonly AnimatableParser<Opacity> s_animatableOpacityParserByte = CreateAnimatableParser(ParseOpacityByte);

@simeoncran simeoncran Nov 23, 2020 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this should called s_animatableOpacityByteParser #Closed

@@ -308,9 +308,6 @@ static float Clamp(float value, float min, float max)

static Sn.Vector2 ClampedVector2(float x, float y) => Vector2(Clamp(x, 0, 1), Clamp(y, 0, 1));

@derobinsMSFT derobinsMSFT Nov 23, 2020 •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

static Sn.Vector2 [](start = 8, length = 17)

A couple other methods in this class also have equivalents in ConvertTo. #Closed

derobinsMSFT
derobinsMSFT previously approved these changes Nov 23, 2020

@derobinsMSFT derobinsMSFT left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@derobinsMSFT derobinsMSFT left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@simeoncran
simeoncran merged commit e1ed8f2 into master Nov 24, 2020
@delete-merged-branch
delete-merged-branch Bot deleted the DropShadows branch November 24, 2020 01:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants