Skip to content

Commit

Permalink
Patch 0.5.2
Browse files Browse the repository at this point in the history
fix:
- Fixed a problem with memory leaks (#15)
  • Loading branch information
FulcrumOne authored May 21, 2024
1 parent a0efde2 commit 5590588
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions Sources/Internal/Views/NavigationView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ private extension NavigationView {
.padding(.bottom, getBottomPadding(item))
.frame(maxWidth: .infinity, maxHeight: .infinity)
.background(getBackground(item))
.transition(.identity)
.opacity(getOpacity(item))
.scaleEffect(getScale(item))
.offset(getOffset(item))
Expand Down Expand Up @@ -147,7 +146,7 @@ private extension NavigationView {
let rotationTranslation = calculateRotationTranslationValue(view)
return rotationTranslation
}
func getRotationAxis() -> (x: CGFloat, y: CGFloat, z: CGFloat) { (x: 0.000000000001, y: 1, z: 0) }
func getRotationAxis() -> (x: CGFloat, y: CGFloat, z: CGFloat) { (x: 0.000000001, y: 1, z: 0) }
func getRotationPerspective() -> CGFloat { 1.6 }
}
private extension NavigationView {
Expand Down
2 changes: 1 addition & 1 deletion Sources/Public/Public+NavigationGlobalConfig.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

import SwiftUI

public class NavigationGlobalConfig {
public struct NavigationGlobalConfig {
public var backgroundColour: Color = .clear

public init() {}
Expand Down

0 comments on commit 5590588

Please sign in to comment.