godot icon indicating copy to clipboard operation
godot copied to clipboard

[3.x] Automatically stretch ViewportContainer when window is set to `STRETCH_MODE_2D`

Open BimDav opened this issue 2 years ago • 0 comments

Fixes https://github.com/godotengine/godot/issues/61301

This PR is for 3.x, but the issue is also present in 4.x.

In 4.X, due to stretch_mode being associated with the new Window type, I think there should be some way to access the current Window from CanvasItems, but I'm not sure it exists?

BimDav avatar May 23 '22 07:05 BimDav