mirror of https://github.com/wayvr-org/wayvr.git
osc: only interactable in openOverlayCount
This commit is contained in:
parent
1a70ea4fcc
commit
2aed560950
|
|
@ -65,7 +65,11 @@ impl OscSender {
|
||||||
match o.state.name.as_ref() {
|
match o.state.name.as_ref() {
|
||||||
WATCH_NAME => has_wrist = true,
|
WATCH_NAME => has_wrist = true,
|
||||||
KEYBOARD_NAME => has_keyboard = true,
|
KEYBOARD_NAME => has_keyboard = true,
|
||||||
_ => num_overlays += 1,
|
_ => {
|
||||||
|
if o.state.interactable {
|
||||||
|
num_overlays += 1
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue