Permalink
Browse files

Prevent scroller redraw when change line wrap.

  • Loading branch information...
1 parent 4340861 commit 2e0e4164c6dea0e8ed24a41da21a0a4bf37755b2 @mugginsoft committed Sep 27, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 SMLTextView.m
View
@@ -1061,6 +1061,7 @@ - (void)updateLineWrap {
NSDisableScreenUpdates();
[textScrollView display];
[textScrollView reflectScrolledClipView:textScrollView.contentView];
+ [textScrollView display];
NSEnableScreenUpdates();
}

0 comments on commit 2e0e416

Please sign in to comment.