Skip to content

Camera Zoom affects Menu Popup position and size #76194

@WhalesState

Description

@WhalesState

Godot version

4.0.2.stable

System information

Ubuntu

Issue description

when zooming in and then pressing on any menu button the popup position and size changes depends on the current Camera 2d zoom value, if Zoom is equal (1, 1) it works normaly but when zoomed in the popup keeps moving down and its width changes

Steps to reproduce

open the project attached, it's a 2d node and has camera and canvas layer as children, press on menu button or color wheel picker shape button and see the popup appears far away from the button and its size and position gets affected by 2d camera zoom, change the camera zoom by pressing on zoom in or zoom out buttons and try again the menu only appears normaly if the zoom is (1, 1)

Minimal reproduction project

test_project.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions