Closed culli closed 5 years ago
This PR breaks a lot of viewer features, like the ability to pan the image, the miniature,.... Probably there's some extra work to do. In general, I think that the rotation is not so easy to develop but I can accept a fully working PR.
While I would love to work on this more, I don't have the time right now, so I'm closing this PR.
Thanks anyway ;)
This adds rotate to the available features. I could use some advice before this gets merged, because it causes an error to be logged even though it appears to work in the storybook.
Error: <rect> attribute height: A negative value is not valid. ("-800")
in react-domI don't understand why it's doing that. Maybe it would be better to do the rotation using the svg
rotate()
transformation instead ofmatrix()
?