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 6032833 commit a763d3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Internal/View Models/ViewModel+CentreStack.swift
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ private extension VM.CentreStack {

// MARK: Methods
extension VM.CentreStack {
func t_calculateHeight(heightCandidate: CGFloat) -> CGFloat { recalculatePopupHeight(heightCandidate) }
func t_calculateHeight(heightCandidate: CGFloat) -> CGFloat { min(heightCandidate, calculateLargeScreenHeight()) }
func t_calculatePopupPadding() -> EdgeInsets { calculatePopupPadding() }
func t_calculateCornerRadius() -> [PopupAlignment: CGFloat] { calculateCornerRadius() }
func t_calculateOpacity(for popup: AnyPopup) -> CGFloat { calculateOpacity(for: popup) }
Expand Down

0 comments on commit a763d3b

Please sign in to comment.