1 parent 0e5434e commit 5391f62Copy full SHA for 5391f62
1 file changed
src/ax_element.rs
@@ -1026,11 +1026,7 @@ fn traverse_elements(
1026
)));
1027
}
1028
1029
- kAXGroupRole
1030
- if element
1031
- .subrole()
1032
- .is_ok_and(|r| r == "AXApplicationDialog" || r == "AXLandmarkRegion") =>
1033
- {
+ kAXGroupRole if element.subrole().is_ok_and(|r| r == "AXApplicationDialog") => {
1034
if let Some(frame) = ele_fp.frame {
1035
let _ = result_tx.send(ElementSignal::StartPopup(frame));
1036
is_popup = true;
0 commit comments