Pass KeyBinding
s to TextTooltip
s
This commit is contained in:
parent
aa1471948f
commit
90d7033fd0
3 changed files with 25 additions and 19 deletions
|
@ -3,7 +3,7 @@ use strum::EnumIter;
|
|||
|
||||
use crate::prelude::*;
|
||||
|
||||
#[derive(Component)]
|
||||
#[derive(Component, Clone)]
|
||||
pub struct KeyBinding {
|
||||
/// A keybinding consists of a key and a set of modifier keys.
|
||||
/// More then one keybinding produces a chord.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue