Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@jason-simmons
Copy link
Member

No description provided.

@jason-simmons
Copy link
Member Author

@abarth

mozart::Node* container) {
context.AddLayerToCurrentPaintTask(this);
auto node = mozart::Node::New();
node->content_clip = mozart::RectF::From(rrect_bounds());
Copy link
Contributor

Choose a reason for hiding this comment

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

We want to clip to rrect_.getBounds(), like we do in the non-mozart codepath. The inflated bounds are to provide room for our shadow, but when clipping the children, we don't want to include the extra room.

Copy link
Member Author

Choose a reason for hiding this comment

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

done

@abarth
Copy link
Contributor

abarth commented Feb 23, 2017

LGTM

@jason-simmons jason-simmons merged commit e01d1b3 into flutter:master Feb 24, 2017
goderbauer pushed a commit to goderbauer/engine that referenced this pull request Mar 9, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants