From bd777ff17258293c83b3a086d765b38bb9fe5197 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Thu, 25 Jul 2024 14:53:55 +0200 Subject: pc: join and quit button --- pixel-client/src/ui.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pixel-client/src/ui.rs') 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, @@ -14,7 +14,7 @@ pub struct FocusDevice { interact_down: bool, } -#[derive(Default, Debug)] +#[derive(Default)] pub struct UiState { mouse_position: Vec2, ui_scale: Vec2, -- cgit v1.2.3-70-g09d2