Skip to content

Commit

Permalink
Use update view constraints (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
noahsmartin authored Aug 25, 2024
1 parent 22cf568 commit 7c0e0c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/SnapshotPreviewsCore/AppKitRenderingStrategy.swift
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ final class AppKitContainer: NSHostingController<EmergeModifierView>, ScrollExpa
rendered?(rootView.emergeRenderingMode, rootView.precision, rootView.accessibilityEnabled)
}

override func viewDidLayout() {
super.viewDidLayout()
override func updateViewConstraints() {
super.updateViewConstraints()
updateScrollViewHeight()
}

Expand Down

0 comments on commit 7c0e0c6

Please sign in to comment.