Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
FulcrumOne committed Nov 7, 2024
1 parent 31e0869 commit c3bc1cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/Internal/View Models/ViewModel+VerticalStack.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ extension VM { class VerticalStack: ViewModel {

// MARK: Update
private extension VM.VerticalStack {
func updateGestureTranslation(_ newGestureTranslation: CGFloat) {
func updateGestureTranslation(_ newGestureTranslation: CGFloat) { Task {
gestureTranslation = newGestureTranslation
translationProgress = calculateTranslationProgress()
activePopupHeight = calculateHeightForActivePopup()
activePopupHeight = await calculateHeightForActivePopup()

withAnimation(gestureTranslation == 0 ? .transition : nil) { objectWillChange.send() }
}
}}
}


Expand Down

0 comments on commit c3bc1cc

Please sign in to comment.