anthonyec / godot_little_camera_preview

🎥 Picture-in-picture style preview for both 2D and 3D cameras
MIT License
643 stars 10 forks source link

Doesnt work correctly for portrait window #7

Closed Javigor closed 9 months ago

Javigor commented 9 months ago

Godot Version 4.2.1.stable.mono I tried using the addon with a portrait game, and scalates the image when traying to. It happens to me with any portrait value. The error starts when the viewport height value is greater than the viewport width value. image image

anthonyec commented 9 months ago

Ooo nice catch! Yeah looks like the code just handles aspect ratios greater than 1, I'll have a look into fixing this soon

anthonyec commented 9 months ago

@Javigor this has been fixed now, thanks for reporting!

I've updated the release on GitHub and it'll be available on the asset library soon. Let me know if you have any other issues.

Javigor commented 6 months ago

It works fine! Thx!!