You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Rotating an SVG in the preview cuts off part of the drawing #4322
I understand this is a bug report and questions should be posted in the Community Discussions
I searched issues and couldn’t find anything (or linked relevant results below)
Bug Description
Since #3911, rotating an SVG in the preview cuts off part of the drawing. The SVG wrapper now fills the whole stage and gets rotated as a whole, so a landscape stage turned by 90° doesn't fit anymore.
Reproduction Steps
Open a landscape SVG (e.g. 400×300) in the preview
Click "Rotate the image 90 degrees to the right"
Expected Outcome
The rotated drawing fits the stage, like a raster image or an SVG before #3911.
Actual Outcome
About a quarter of the drawing is cut off at the top and bottom (left and right on phones for portrait SVGs). The classes changed in packages/web-app-preview/src/components/Sources/MediaImage.vue.
Activity