Skip to content

Commit

Permalink
Update node.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Arnold Loubriat <[email protected]>
  • Loading branch information
HolgerGottChristensen and DataTriny authored Oct 27, 2024
1 parent 449c3a5 commit 5b2d75c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platforms/macos/src/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ declare_class!(

#[method(isAccessibilityEnabled)]
fn enabled(&self) -> bool {
self.resolve(|node| !node.is_disabled()).unwrap_or(true)
self.resolve(|node| !node.is_disabled()).unwrap_or(false)
}

#[method(setAccessibilityFocused:)]
Expand Down

0 comments on commit 5b2d75c

Please sign in to comment.