Skip to content

Set content_scale_size when setting the resolution #68

@beck-tom

Description

@beck-tom

I will admit that I am a bit too new to Godot to be confident that this is the appropriate approach for an issue I have.
The view port was not getting resized along with the window when switching resolutions.

Adding window.content_scale_size = value here gave me the expected results:
https://github.com/Maaack/Godot-Menus-Template/blob/main/addons/maaacks_menus_template/base/scripts/app_settings.gd#L132

Would there be any consequences is adding this in the next update?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions