Skip to content

Commit

Permalink
Fix minimized mode
Browse files Browse the repository at this point in the history
  • Loading branch information
rivera-ernesto committed Oct 3, 2017
1 parent 5552760 commit 78ba26d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/PTEDashboard.m
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 78ba26d

Please sign in to comment.