When using integer scaling, resizing the window to be smaller than content_scale_size
(the original viewport size) will clip the contents.
#81024
Milestone
Godot version
master
System information
Windows
Issue description
Follow-up to #81012 (review).
This causes contents of the viewport to be clipped out of the window, which is not desirable, and also causes a problem with the implemented
Window.move_to_center()
when used with embedded windows.Steps to reproduce
Create a 2D scene, set the window stretch mode to
canvas_items
and stretch scale mode tointeger
in the project settings, and resize the window to be smaller than the original viewport size. Result demonstrated in linked comment.Minimal reproduction project
In linked comment.
The text was updated successfully, but these errors were encountered: