fix(input): dropped input handlers properly release methods

This commit is contained in:
Nova
2025-04-07 09:50:34 -07:00
committed by Nova
parent 173b033963
commit fe6ed81255
5 changed files with 15 additions and 13 deletions

View File

@@ -142,7 +142,7 @@ impl MousePointer {
.set_new_capture(&self.pointer, distance_calculator);
self.capture_manager.apply_capture(&self.pointer);
if self.capture_manager.capture.is_some() {
if self.capture_manager.capture.upgrade().is_some() {
return;
}