diff --git a/Source/PTEDashboard.m b/Source/PTEDashboard.m index 601fd59..ea8342f 100644 --- a/Source/PTEDashboard.m +++ b/Source/PTEDashboard.m @@ -254,13 +254,13 @@ - (void)setWindowHeight:(CGFloat)height tableFrame.origin.x += 20.0; tableFrame.size.width -= 20.0; _consoleTableView.frame = tableFrame; - _consoleTableView.contentOffset = CGPointMake(0.0, - MAX(_consoleTableView.contentOffset.y, - _consoleTableView.tableHeaderView.bounds.size.height)); self.frame = CGRectMake(self.frame.origin.x, self.frame.origin.y, _screenSize.width - 40.0, height); + _consoleTableView.contentOffset = CGPointMake(0.0, + MAX(_consoleTableView.contentOffset.y, + _consoleTableView.tableHeaderView.bounds.size.height)); } // Change keyWindow to enable keyboard input