4.0alpha: Stretch scale factor doesn't apply when using viewport
stretch mode (while it does in 3.x
)
#60801
Labels
Milestone
viewport
stretch mode (while it does in 3.x
)
#60801
Godot version
4.0.alpha7
System information
Fedora 34, GeForce GTX 1080 (NVIDIA 510.60.02)
Issue description
In
master
, the stretch scale factor doesn't apply when using theviewport
stretch mode (while it does in 3.5beta4). The stretch scale factor works as expected when using thedisabled
orcanvas_items
stretch modes.cc @Ansraer, as they ported the stretch scale to 4.0 inhttps://github.com//pull/52170.
master
behavior (incorrect)simplescreenrecorder-2022-05-05_19.34.34.mp4
3.x
behavior (correct)simplescreenrecorder-2022-05-05_19.33.59.mp4
Steps to reproduce
viewport
stretch mode (notdisabled
orcanvas_items
).Minimal reproduction project
master
project: https://github.com/Calinou/godot-demo-projects/tree/multiple-resolutions-update-to-4.0/gui/multiple_resolutions3.x
project: https://github.com/godotengine/godot-demo-projects/tree/master/gui/multiple_resolutionsThe text was updated successfully, but these errors were encountered: