ibireme 9 年之前
父节点
当前提交
446c7ae813
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      YYText/YYTextView.m

+ 1 - 0
YYText/YYTextView.m

@@ -2000,6 +2000,7 @@ typedef NS_ENUM(NSUInteger, YYTextMoveDirection) {
     self.debugOption = [YYTextDebugOption sharedDebugOption];
     [YYTextDebugOption addDebugTarget:self];
     
+    [self _updateInnerContainerSize];
     [self _update];
     
     [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(_pasteboardChanged) name:UIPasteboardChangedNotification object:nil];