diff options
author | metamuffin <metamuffin@disroot.org> | 2024-07-25 14:53:55 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-07-25 14:53:55 +0200 |
commit | bd777ff17258293c83b3a086d765b38bb9fe5197 (patch) | |
tree | 253fba54bfcee9be97311900a0b361c1bcc3951e /pixel-client/src/ui.rs | |
parent | 3c056d68fe9c28b0c867a8d8bb3d4394745296d0 (diff) | |
download | hurrycurry-bd777ff17258293c83b3a086d765b38bb9fe5197.tar hurrycurry-bd777ff17258293c83b3a086d765b38bb9fe5197.tar.bz2 hurrycurry-bd777ff17258293c83b3a086d765b38bb9fe5197.tar.zst |
pc: join and quit button
Diffstat (limited to 'pixel-client/src/ui.rs')
-rw-r--r-- | pixel-client/src/ui.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pixel-client/src/ui.rs b/pixel-client/src/ui.rs index 9a04c5c0..802c8e2f 100644 --- a/pixel-client/src/ui.rs +++ b/pixel-client/src/ui.rs @@ -5,7 +5,7 @@ use sdl2::{ mouse::MouseState, }; -#[derive(Debug, Default)] +#[derive(Default)] pub struct FocusDevice { focus: usize, pressing: Option<usize>, @@ -14,7 +14,7 @@ pub struct FocusDevice { interact_down: bool, } -#[derive(Default, Debug)] +#[derive(Default)] pub struct UiState { mouse_position: Vec2, ui_scale: Vec2, |