chore: release v0.3.2

This commit is contained in:
Jack Wills
2023-08-28 13:32:34 +00:00
parent 6a5ebc5680
commit 76fd178894
8 changed files with 50 additions and 25 deletions
+10 -4
View File
@@ -93,16 +93,22 @@ impl InputHandler {
.lock()
.set_info_box("✖ mouse capture disabled".to_owned());
} else {
self.app_data
.lock()
.set_error(AppError::MouseCapture(false), &self.gui_state, Status::Error);
self.app_data.lock().set_error(
AppError::MouseCapture(false),
&self.gui_state,
Status::Error,
);
}
} else if Ui::enable_mouse_capture().is_ok() {
self.gui_state
.lock()
.set_info_box("✓ mouse capture enabled".to_owned());
} else {
self.app_data.lock().set_error(AppError::MouseCapture(true), &self.gui_state, Status::Error);
self.app_data.lock().set_error(
AppError::MouseCapture(true),
&self.gui_state,
Status::Error,
);
};
// If the info box sleep handle is currently being executed, as in 'm' is pressed twice within a 4000ms window