core: layout: drop display_symbol function

The display_label function supersedes the old display_symbol function.
Drop the old one.
This commit is contained in:
Richard Acayan 2024-08-05 18:26:17 -04:00
parent 22a93d2efe
commit 00e55c9566

View file

@ -367,17 +367,6 @@ impl Part {
l => l, l => l,
} }
} }
pub fn display_symbol(&self, mod_state: &[ModState]) -> Keysym
{
let mut sym = self.val.0;
if mod_state[MOD_SHIFT - 1] != ModState::Released {
sym = Self::modify_shift(sym);
}
sym
}
} }
pub struct Key { pub struct Key {