scratchfoundation / scratch-paint

Paint editor for Scratch 3.0
https://llk.github.io/scratch-paint/
BSD 3-Clause "New" or "Revised" License
174 stars 222 forks source link

Pasted image appears in wrong place #664

Open fsih opened 6 years ago

fsih commented 6 years ago

On Chromebook, when editing a backdrop, copy a bitmap backdrop, switch to an empty vector backdrop, paste. The pasted image shows up with its top-left at the center (i.e. incorrectly positioned- this may only be visible when you switch to another backdrop and back), and the pasted image does not appear on the stage at all. @ericrosenbaum

BryceLTaylor commented 5 years ago

I was able to repro this using the steps listed above. I used ctrl-c, ctrl-v to copy and paste the backdrop. When you first paste it, the backdrop looks fine, but after switching to the other backdrop and back it appears with its upper left corner exactly in the center of the backdrop.

This happens on Mac Chrome and mac firefox as well as on the chromebook.

Repro steps: Create a new project Click Choose a Backdrop from the stage thermometer menu Choose a bitmap backdrop, such as boardwalk, canyon, or castle 4 Click on the backdrop in the paint editor with the select tool Press ctrl-c (cmd-c on mac) Select the default backrdrop (backdrop1) press ctrl-v (cmd-v on a mac) Note: the backdrop appears in the paint editor but not on the stage Click the canyon backdrop Click back on backdrop1 Note: The canyon image only appears in the bottom right of the paint editor with the upper left of the image exactly in the center. Note: the backdrop on the stage is completely white With the select tool selected, click and drag over the corner of the image that is visible Note: a rotation anchor appears Click and drag on the anchor Note: you can rotate the image around the corner.