disable grabbing for watch in default state
watch should only be grabbable in edit mode
This commit is contained in:
@@ -168,6 +168,7 @@ pub fn create_watch(app: &mut AppState) -> anyhow::Result<OverlayWindowConfig> {
|
|||||||
name: WATCH_NAME.into(),
|
name: WATCH_NAME.into(),
|
||||||
z_order: Z_ORDER_WATCH,
|
z_order: Z_ORDER_WATCH,
|
||||||
default_state: OverlayWindowState {
|
default_state: OverlayWindowState {
|
||||||
|
grabbable: false,
|
||||||
interactable: true,
|
interactable: true,
|
||||||
positioning,
|
positioning,
|
||||||
transform: Affine3A::from_scale_rotation_translation(
|
transform: Affine3A::from_scale_rotation_translation(
|
||||||
|
|||||||
Reference in New Issue
Block a user