This commit is contained in:
Victoria Brekenfeld 2022-01-18 18:50:50 +01:00
parent ef9e3d3c7c
commit 370c825c8e

View file

@ -162,7 +162,7 @@ impl Common {
}
#[cfg(feature = "debug")]
{
self.common.egui.state.handle_device_added(&device);
self.egui.state.handle_device_added(&device);
}
}
InputEvent::DeviceRemoved { device } => {
@ -186,7 +186,7 @@ impl Common {
}
#[cfg(feature = "debug")]
{
self.common.egui.state.handle_device_added(&device);
self.egui.state.handle_device_added(&device);
}
}
InputEvent::Keyboard { event, .. } => {