mirror of
https://github.com/wayvr-org/wayvr.git
synced 2026-12-04 15:52:28 -08:00
osc: only interactable in openOverlayCount
This commit is contained in:
1 parent
1a70ea4fcc
commit
2aed560950
1 file changed
+5
-1
+5
-1
@@ -65,7 +65,11 @@ impl OscSender {
|
||||
match o.state.name.as_ref() {
|
||||
WATCH_NAME => has_wrist = true,
|
||||
KEYBOARD_NAME => has_keyboard = true,
|
||||
_ => num_overlays += 1,
|
||||
_ => {
|
||||
if o.state.interactable {
|
||||
num_overlays += 1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user