mirror of
https://github.com/TextureGroup/Texture.git
synced 2026-04-07 19:17:39 +00:00
Add handling in ASButtonNode back for non flag
This commit is contained in:
@@ -105,6 +105,14 @@ CGRect _ASControlNodeGetExpandedBounds(ASControlNode *controlNode);
|
||||
}
|
||||
#endif
|
||||
|
||||
- (void)setUserInteractionEnabled:(BOOL)userInteractionEnabled
|
||||
{
|
||||
[super setUserInteractionEnabled:userInteractionEnabled];
|
||||
if (!ASActivateExperimentalFeature(ASExperimentalTextNode2A11YContainer)) {
|
||||
self.isAccessibilityElement = userInteractionEnabled;
|
||||
}
|
||||
}
|
||||
|
||||
- (void)__exitHierarchy
|
||||
{
|
||||
[super __exitHierarchy];
|
||||
|
||||
Reference in New Issue
Block a user