Skip to content

Tooltip misplacement when using Camera2D and zooming #11732

@ShieldHero

Description

@ShieldHero

Operating system or device, Godot version, GPU Model and driver (if graphics related):
Win7, Godot 2.1.4 stable

Issue description:
When using a zoomed Camera2D, it seems that tooltips will be zoomed and their position is wrong, instead of following the cursor it is spawned way off (maybe it uses the transformed mouse position instead), it should use the global mouse position, it doesn't make sense for viewport transformation to be applied on tooltips

Steps to reproduce:
Add a Camera2D, change the zoom variable, add a control with a tooltip, when you run it and hover over the control the tool tip will show up in a different position (may be offscreen)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions