Skip to content

Commit

Permalink
Partial fix for github#113.
Browse files Browse the repository at this point in the history
Doesn't totally fix it, header doesn't properly move in some cases
(rows near the header).
  • Loading branch information
maxgoedjen committed Nov 14, 2012
1 parent a0c44be commit 0d537c2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/UIKit/TUITableView.m
Original file line number Diff line number Diff line change
Expand Up @@ -772,8 +772,10 @@ - (void)_layoutSectionHeaders:(BOOL)visibleHeadersNeedRelayout
}
}

section.headerView.frame = headerFrame;
[section.headerView setNeedsLayout];
if (![self __isDraggingCell]) {
section.headerView.frame = headerFrame;
[section.headerView setNeedsLayout];
}

if(section.headerView.superview == nil){
[self addSubview:section.headerView];
Expand Down

0 comments on commit 0d537c2

Please sign in to comment.