bevy icon indicating copy to clipboard operation
bevy copied to clipboard

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

Open lewiszlw opened this issue 1 year ago • 0 comments

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.

lewiszlw avatar Mar 08 '23 17:03 lewiszlw