anthonyec / godot_little_camera_preview

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

Prevent preview overlapping with viewport information #6

Open anthonyec opened 8 months ago

anthonyec commented 8 months ago

When showing viewport information, the camera preview would overlap it. Instead offset the camera preview margins if the information is shown.

Note this only works with one viewport, not with multiple in split view.

example_compared

Alleviates (not a complete fix): https://github.com/anthonyec/godot_little_camera_preview/issues/5