Skip to content

Commit

Permalink
bugfix:
Browse files Browse the repository at this point in the history
  • Loading branch information
ibireme committed Aug 11, 2016
1 parent 944fedf commit 07193fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion YYText/Utility/NSAttributedString+YYText.m
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ - (void)setYy_strikethroughStyle:(NSUnderlineStyle)strikethroughStyle {
}

- (void)setYy_strikethroughColor:(UIColor *)strikethroughColor {
[self yy_setStrokeColor:strikethroughColor range:NSMakeRange(0, self.length)];
[self yy_setStrikethroughColor:strikethroughColor range:NSMakeRange(0, self.length)];
}

- (void)setYy_underlineStyle:(NSUnderlineStyle)underlineStyle {
Expand Down
1 change: 1 addition & 0 deletions YYText/YYTextView.m
Original file line number Diff line number Diff line change
Expand Up @@ -2364,6 +2364,7 @@ - (void)setPlaceholderText:(NSString *)placeholderText {
_placeholderAttributedText = atr;
}
}
_placeholderText = [_placeholderAttributedText yy_plainTextForRange:NSMakeRange(0, _placeholderAttributedText.length)];
[self _commitPlaceholderUpdate];
}

Expand Down

0 comments on commit 07193fb

Please sign in to comment.