This commit is contained in:
galister
2025-12-11 21:26:25 +09:00
parent 12524fec96
commit 4314610244
8 changed files with 19 additions and 22 deletions

View File

@@ -61,9 +61,9 @@ impl PositioningHandler {
buttons.insert(
*name,
Rc::new(PosButtonState {
component,
name,
sprite,
component,
positioning,
has_interpolation,
}),

View File

@@ -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));

View File

@@ -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 {