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

Rotate component/label with CSS #282

Open
flo-dup opened this issue Sep 22, 2021 · 1 comment
Open

Rotate component/label with CSS #282

flo-dup opened this issue Sep 22, 2021 · 1 comment

Comments

@flo-dup
Copy link
Contributor

flo-dup commented Sep 22, 2021

  • Do you want to request a feature or report a bug?
    Feature

  • What is the current behavior?
    Rotation is added directly in the svg file

  • What is the expected behavior?
    Rotation is added through CSS rotate

  • What is the motivation / use case for changing the behavior?
    Factorizing the rotation leading to a lighter file

@flo-dup flo-dup changed the title Rotate component with CSS Rotate component/label with CSS Sep 22, 2021
@flo-dup
Copy link
Contributor Author

flo-dup commented Feb 3, 2023

As mentioned in #191, it cannot be done for components because of anchors. This can still be used for text labels, which will allow to remove LayoutParameters::isLabelDiagonal

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

No branches or pull requests

1 participant