osc: only interactable in openOverlayCount

This commit is contained in:
galister
2024-03-06 18:20:20 +01:00
parent 1a70ea4fcc
commit 2aed560950

View File

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