diff --git a/crates/keymap/src/keymap.rs b/crates/keymap/src/keymap.rs index 8c026945..33028d6f 100644 --- a/crates/keymap/src/keymap.rs +++ b/crates/keymap/src/keymap.rs @@ -787,6 +787,7 @@ impl Keymap { /// Whether both commands of `conflict` have its chord among their defaults, so they share it by /// design and [`Keymap::clashing`] leaves them out. + #[cfg(feature = "ui")] pub(crate) fn twins_in(&self, conflict: &Conflict) -> bool { let (Some(i), Some(j)) = (self.find(&conflict.a.0), self.find(&conflict.b.0)) else { return false }; self.twins(i, j, conflict.chord)