clippy
This commit is contained in:
@@ -61,9 +61,9 @@ impl PositioningHandler {
|
||||
buttons.insert(
|
||||
*name,
|
||||
Rc::new(PosButtonState {
|
||||
component,
|
||||
name,
|
||||
sprite,
|
||||
component,
|
||||
positioning,
|
||||
has_interpolation,
|
||||
}),
|
||||
|
||||
@@ -235,7 +235,7 @@ impl OverlayBackend for ScreenBackend {
|
||||
MOUSE_RIGHT => MOUSE_LEFT,
|
||||
other => other,
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
if pressed {
|
||||
set_next_move(u64::from(app.session.config.click_freeze_time_ms));
|
||||
|
||||
@@ -44,8 +44,8 @@ pub const WATCH_NAME: &str = "watch";
|
||||
const MAX_TOOLBOX_BUTTONS: usize = 16;
|
||||
const MAX_DEVICES: usize = 9;
|
||||
|
||||
pub(crate) const WATCH_POS: Vec3 = vec3(-0.03, -0.01, 0.125);
|
||||
pub(crate) const WATCH_ROT: Quat = Quat::from_xyzw(-0.707_106_6, 0.000_796_361_8, 0.707_106_6, 0.0);
|
||||
pub const WATCH_POS: Vec3 = vec3(-0.03, -0.01, 0.125);
|
||||
pub const WATCH_ROT: Quat = Quat::from_xyzw(-0.707_106_6, 0.000_796_361_8, 0.707_106_6, 0.0);
|
||||
|
||||
#[derive(Default)]
|
||||
struct WatchState {
|
||||
|
||||
Reference in New Issue
Block a user