fix: allow default popup positioner to be constrained

This commit is contained in:
Ashley Wulber 2022-12-05 16:54:22 -05:00
parent 4788693027
commit 0f857b18ea
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820

View file

@ -82,6 +82,7 @@ pub fn get_popup_settings(
height: height_padding.unwrap_or(8) * 2 + pixels as i32, height: height_padding.unwrap_or(8) * 2 + pixels as i32,
}, },
reactive: true, reactive: true,
constraint_adjustment: 15, // slide_y, slide_x, flip_x, flip_y
..Default::default() ..Default::default()
}, },
parent_size: None, parent_size: None,