Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

userInteractionEnabled defaults to NO #16

Merged
merged 1 commit into from
Aug 15, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions AsyncDisplayKit/ASTextNode.mm
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ - (instancetype)init
_shadowOpacity = [super shadowOpacity];
_shadowRadius = [super shadowRadius];

// Enable user interaction for text node, as ASControlNode disables it by default.
self.userInteractionEnabled = YES;
// Disable user interaction for text node by default.
self.userInteractionEnabled = NO;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(y)

self.needsDisplayOnBoundsChange = YES;

_truncationMode = NSLineBreakByWordWrapping;
Expand Down