ui-contract: part_senses is not suite-only (a collection row reads it for pressing parts)

This commit is contained in:
bflatastic
2026-11-22 02:29:39 +07:00
parent 2b261f3511
commit 086cbb61a2
@@ -685,7 +685,6 @@ pub(crate) fn part_bounds(ctx: &Context, owner: Id, part: craft_behavior::PartRe
}
/// Whether the part `part` of `owner` (the arena root or a member) senses all of `sense` in last pass's shape record.
#[cfg(feature = "suite")]
pub(crate) fn part_senses(ctx: &Context, owner: Id, part: craft_behavior::PartRef, sense: craft_behavior::Sense) -> bool {
let viewport = pass::current_viewport(ctx);
PerViewport::<Shapes>::with(ctx, viewport, |record| {