Skip to content

Commit

Permalink
Fix preview frame size
Browse files Browse the repository at this point in the history
Closes #8
  • Loading branch information
chamburr committed Feb 6, 2022
1 parent 982c6d5 commit c52c31a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QLPlugin/MainVC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class MainVC: NSViewController, QLPreviewingController {
// Add `PreviewVC` as a child view controller
addChild(previewVC)
previewVC.view.autoresizingMask = [.height, .width]
previewVC.view.frame = view.frame
previewVC.view.frame = view.bounds
view.addSubview(previewVC.view)

// Update stats
Expand Down

0 comments on commit c52c31a

Please sign in to comment.