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

fix: proxy margin and padding from rect #48

Merged
merged 1 commit into from
Jun 15, 2022
Merged

Conversation

scTaoFelix
Copy link
Contributor

@scTaoFelix scTaoFelix commented Jun 14, 2022

Starport-start-A => Starport-end-B

If A has margin or padding, but B does not. Misalignment occurs before or at the end of the transition animation.
Because left/top does not add margin and padding.

eg: gif
fixed-margin

@antfu
Copy link
Owner

antfu commented Jun 14, 2022

Can you explain a bit?

@scTaoFelix
Copy link
Contributor Author

``

Can you explain a bit?

See gif.

@antfu antfu changed the title perf: Add margin and padding to rect fix: proxy margin and padding from rect Jun 15, 2022
@antfu antfu merged commit cc918ca into antfu:main Jun 15, 2022
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