bevy/examples/ui
Dawid Piotrowski a792f37040 Relative cursor position (#7199)
# Objective

Add useful information about cursor position relative to a UI node. Fixes #7079.

## Solution

- Added a new `RelativeCursorPosition` component

---

## Changelog

- Added
  - `RelativeCursorPosition`
  - an example showcasing the new component

Co-authored-by: Dawid Piotrowski <41804418+Pietrek14@users.noreply.github.com>
2023-01-16 17:17:45 +00:00
..
button.rs Remove auto-margin properties from the examples (#6535) 2022-11-21 14:38:35 +00:00
font_atlas_debug.rs Rename Handle::as_weak() to cast_weak() (#5321) 2022-10-28 22:43:14 +00:00
relative_cursor_position.rs Relative cursor position (#7199) 2023-01-16 17:17:45 +00:00
text.rs Add Exponential Moving Average into diagnostics (#4992) 2022-10-24 13:46:37 +00:00
text_debug.rs Fix beta clippy lints (#7154) 2023-01-11 09:51:22 +00:00
transparency_ui.rs Remove auto-margin properties from the examples (#6535) 2022-11-21 14:38:35 +00:00
ui.rs Fixes scroll example after inverting UI Y axis (#6290) 2022-10-18 13:28:35 +00:00
ui_scaling.rs UI scaling fix (#6479) 2022-11-05 13:51:12 +00:00
window_fallthrough.rs Expose set_cursor_hittest() from winit (#6664) 2022-11-21 12:59:10 +00:00
z_index.rs Remove auto-margin properties from the examples (#6535) 2022-11-21 14:38:35 +00:00