Skip to content

Commit

Permalink
Fix comment sizing on reload
Browse files Browse the repository at this point in the history
  • Loading branch information
themissingcow committed Mar 13, 2020
1 parent af7b36a commit db60b28
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Trackomatic/ViewControllers/CommentViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@ class CommentViewController: NSViewController, NSTextViewDelegate
updateHeight();
}

override func viewDidLayout()
{
super.viewDidLayout();
updateHeight();
}

@IBAction func delete( _ sender: Any )
{
guard let c = comment else { return };
Expand Down

0 comments on commit db60b28

Please sign in to comment.