Skip to main content

fantasy_craft/input/
focus.rs

1#[derive(Debug, Clone, Copy)]
2pub struct InputFocus {
3    pub is_captured_by_ui: bool
4}
5
6impl Default for InputFocus {
7    fn default() -> Self {
8        Self {
9            is_captured_by_ui: false
10        }
11    }
12}