Pass KeyBindings to TextTooltips

This commit is contained in:
Marshall Bowers 2023-11-14 13:36:03 -05:00
parent aa1471948f
commit 90d7033fd0
3 changed files with 25 additions and 19 deletions

View file

@ -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.