From 0d537c2770734490d6426ba2ea65bb78a7c69fc3 Mon Sep 17 00:00:00 2001 From: Max Goedjen Date: Tue, 13 Nov 2012 20:48:15 -0800 Subject: [PATCH] Partial fix for #113. Doesn't totally fix it, header doesn't properly move in some cases (rows near the header). --- lib/UIKit/TUITableView.m | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/UIKit/TUITableView.m b/lib/UIKit/TUITableView.m index 24d7550d..03850cfa 100644 --- a/lib/UIKit/TUITableView.m +++ b/lib/UIKit/TUITableView.m @@ -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];