richrobber2 / canvas-zoom

zoom and pan functionality
351 stars 23 forks source link

[Issue]: No full image display in inpainting #58

Closed Woisek closed 1 year ago

Woisek commented 1 year ago

I do some dual wallpaper generations lately and mostly, I don't need to edit them afterwards. But now I have a few where I'd like to inpaint some elements and noticed, that the image, when drag and dropped into the placeholder, is not fully displayed in the inpainting tab unlike in the img2img tab. It looks like, the element containing the image (id="img2masing") has a overflow: hidden applied. By removing this, the image becomes visible. maybe this switch could be combined with the moving (F key) and reset when resetting.

Zwischenablagebild Zwischenablagebild (1)

Win10, FF106

daswer123 commented 1 year ago

You can do this by pressing the key combination: first S and then R But I'm going to try your idea, and I'll let you know later.

Woisek commented 1 year ago

You can do this by pressing the key combination: first S and then R

Oh ... I totally missed that. 😱 Now that you say it ... yes, I found it. Oh man ... 😔 Thanks for the hint.

But I'm going to try your idea, and I'll let you know later.

Cool, thanks. 👍

daswer123 commented 1 year ago

Anyway, I looked at it, and unfortunately it's not a very good solution. Because if you just remove the overflow, the picture that does not fit into the width of the screen will extend beyond the screen.

I'm still testing different options, but in any case, thanks for the idea :)

By the way, you can just press S twice and it will be the same as S + R

Woisek commented 1 year ago

OK, thanks! 🙂