Skip to content

Commit

Permalink
rollback to old commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ibireme committed Sep 13, 2016
1 parent 36b6646 commit 02eba9f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Framework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0.6</string>
<string>1.0.7</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion YYText.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = 'YYText'
s.summary = 'Powerful text framework for iOS to display and edit rich text.'
s.version = '1.0.6'
s.version = '1.0.7'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.authors = { 'ibireme' => '[email protected]' }
s.social_media_url = 'http://blog.ibireme.com'
Expand Down
2 changes: 1 addition & 1 deletion YYText/YYTextView.m
Original file line number Diff line number Diff line change
Expand Up @@ -2421,7 +2421,7 @@ - (void)setFrame:(CGRect)frame {
CGSize oldSize = self.bounds.size;
[super setFrame:frame];
CGSize newSize = self.bounds.size;
BOOL changed = _innerContainer.isVerticalForm ? CGSizeEqualToSize(oldSize, newSize) : (oldSize.width != newSize.width);
BOOL changed = _innerContainer.isVerticalForm ? (oldSize.height != newSize.height) : (oldSize.width != newSize.width);
if (changed) {
[self _updateInnerContainerSize];
[self _commitUpdate];
Expand Down

0 comments on commit 02eba9f

Please sign in to comment.