leuat / TRSE

Turbo Rascal Syntax Error full repo
GNU General Public License v3.0
239 stars 44 forks source link

Level editor copy - paste not working #841

Open AndyHOvine opened 7 months ago

AndyHOvine commented 7 months ago

I can't get the copy paste tools working in the level editor: image

Tested with my Vic 20 EMU project which you have a copy of, can send over again if needed. Level editor size is 16x16.

AndyHOvine commented 7 months ago

Mostly working in latest fix, although colour of items is not coming with it (in my case I see mutlicolour characters instead of the hires colour of the copied original)

BigJinge commented 5 months ago

The copy only displays correctly if clicking on top left of the part of the image to copy, then dragging to bottom right.

If you try dragging bottom left to top right, it appears to show to bottom part of the grab at the top then shows the same amount of pixels beneath and across. Same behaviour with bottom right to top left and top right to bottom left.

That it looks liek the copy routine uses the first click as top left regardless of where the mouse moves next. The distance x and y travels creates that same view of x pixels to the right of the first click and y pixels below of the first click.

This is using 0.17.150 on Windows 11 with Window painter mode set to qtimage.