fix(input): cull capture *attempts*, not captures
This commit is contained in:
@@ -160,7 +160,7 @@ impl InputMethod {
|
|||||||
.iter()
|
.iter()
|
||||||
.filter_map(Weak::upgrade)
|
.filter_map(Weak::upgrade)
|
||||||
.collect::<Registry<InputHandler>>();
|
.collect::<Registry<InputHandler>>();
|
||||||
self.captures.retain(|handler| {
|
self.capture_attempts.retain(|handler| {
|
||||||
!handler
|
!handler
|
||||||
.spatial
|
.spatial
|
||||||
.node()
|
.node()
|
||||||
|
|||||||
Reference in New Issue
Block a user