Skip to content

Commit

Permalink
fix: remove DefaultKeyHandler.
Browse files Browse the repository at this point in the history
  • Loading branch information
viridia committed Oct 3, 2024
1 parent ab1a8ed commit ce6eae1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions crates/bevy_input_focus/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ use bevy_window::Window;
#[derive(Clone, Debug, Resource)]
pub struct KeyboardFocus(pub Option<Entity>);

/// Marker component for which entity should receive keyboard input if nothing is focused.
#[derive(Clone, Debug, Component)]
pub struct DefaultKeyHandler;

/// Helper functions for [`World`] and [`DeferredWorld`] to set and clear keyboard focus.
pub trait SetKeyboardFocus {
/// Set keyboard focus to the given entity.
Expand Down

0 comments on commit ce6eae1

Please sign in to comment.