Skip to content

Commit 72898d5

Browse files
committed
🌲 Update
1 parent df7d980 commit 72898d5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

FluidInterfaceKit/Transition/AddingPresets/AnyAddingTransition+contextualExpanding.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ extension AnyAddingTransition {
1818
let maskView = UIView()
1919
maskView.backgroundColor = .black
2020

21+
if context.contentView.backgroundColor == nil {
22+
context.contentView.backgroundColor = .clear
23+
}
24+
2125
let entrypointSnapshotView = Fluid.takeSnapshotVisible(view: entrypointView)
2226

2327
if !Fluid.hasAnimations(view: context.toViewController.view) {
@@ -90,7 +94,7 @@ extension AnyAddingTransition {
9094

9195
maskAnimator.addAnimations({
9296
maskView.layer.cornerRadius = 0
93-
}, delayFactor: 0.1)
97+
})
9498

9599
maskAnimator.addCompletion { _ in
96100
context.toViewController.view.mask = nil

0 commit comments

Comments
 (0)