feat: add text context menu (overlay and wayland popup)

This commit is contained in:
Hojjat 2026-05-19 19:36:37 -06:00 • committed by Michael Murphy
parent 2cd43a8b89
commit c6cf3db29d
6 changed files with 731 additions and 7 deletions

View file

@ -237,7 +237,7 @@ pub(super) struct MenuSlice {
#[derive(Debug, Clone)]
/// Menu bounds in overlay space
pub struct MenuBounds {
child_positions: Vec<f32>,
pub(crate) child_positions: Vec<f32>,
child_sizes: Vec<Size>,
children_bounds: Rectangle,
pub parent_bounds: Rectangle,