mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Fix feedback compose view rotation issue
This fixes https://github.com/bitstadium/HockeySDK-iOS/issues/196
This commit is contained in:
@@ -349,6 +349,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!alreadySetup) {
|
if (!alreadySetup) {
|
||||||
|
CGSize tempTextViewSize = CGSizeMake(self.contentViewContainer.frame.size.width, self.contentViewContainer.frame.size.height);
|
||||||
|
textViewFrame.size = tempTextViewSize;
|
||||||
textViewFrame.size.width -= scrollViewWidth;
|
textViewFrame.size.width -= scrollViewWidth;
|
||||||
// height has to be identical to the textview!
|
// height has to be identical to the textview!
|
||||||
scrollViewFrame = CGRectMake(CGRectGetMaxX(textViewFrame), self.view.frame.origin.y, scrollViewWidth, CGRectGetHeight(self.textView.bounds));
|
scrollViewFrame = CGRectMake(CGRectGetMaxX(textViewFrame), self.view.frame.origin.y, scrollViewWidth, CGRectGetHeight(self.textView.bounds));
|
||||||
|
|||||||
Reference in New Issue
Block a user