mirror of https://github.com/wayvr-org/wayvr.git
disable grabbing for watch in default state
watch should only be grabbable in edit mode
This commit is contained in:
parent
ac65bca05a
commit
ca770c1c05
|
|
@ -168,6 +168,7 @@ pub fn create_watch(app: &mut AppState) -> anyhow::Result<OverlayWindowConfig> {
|
|||
name: WATCH_NAME.into(),
|
||||
z_order: Z_ORDER_WATCH,
|
||||
default_state: OverlayWindowState {
|
||||
grabbable: false,
|
||||
interactable: true,
|
||||
positioning,
|
||||
transform: Affine3A::from_scale_rotation_translation(
|
||||
|
|
|
|||
Loading…
Reference in New Issue