Skip to content

The behavior of window.cursor_position() is not same cross platforms when enable cursor hittest #7975

@lewiszlw

Description

@lewiszlw

Bevy version

0.10

[Optional] Relevant system information

OS: Win10 & MacOS

What you did

When enable cursor hittest in window_fallthrough example,

  • On Win10, window.cursor_position() will always return None
  • On MacOS, window.cursor_position() will return Some if inside window, or None if outside window

What went wrong

The behavior is not same cross platforms.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-WindowingPlatform-agnostic interface layer to run your app inC-BugAn unexpected or incorrect behaviorO-WindowsSpecific to the Windows desktop operating system

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions