mirror of https://github.com/wayvr-org/wayvr.git
watch grabbable in edit mode
This commit is contained in:
parent
65992ebb8d
commit
87806a84d2
|
|
@ -300,6 +300,11 @@ impl<T> OverlayWindowManager<T> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if changed && let Some(watch) = self.mut_by_id(self.watch_id) {
|
if changed && let Some(watch) = self.mut_by_id(self.watch_id) {
|
||||||
|
watch
|
||||||
|
.config
|
||||||
|
.active_state
|
||||||
|
.iter_mut()
|
||||||
|
.for_each(|f| f.grabbable = enabled);
|
||||||
watch
|
watch
|
||||||
.config
|
.config
|
||||||
.backend
|
.backend
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue