Skip to content

Commit

Permalink
fix stack mode transition error
Browse files Browse the repository at this point in the history
  • Loading branch information
fatbobman committed Feb 10, 2023
1 parent e2c9a94 commit 9843019
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,14 +173,12 @@ extension OverlayContainer {
containerViewDisplayType: containerConfiguration.displayType
)
// the current context of view is ZStack (GenericStack)
ZStack {
backgroundOfIdentifiableView
.zIndex(1.0)
compositingView
.padding(containerConfiguration.insets) // add insets for each view
.frame(minWidth: 0, maxWidth: .infinity, minHeight: 0, maxHeight: .infinity, alignment: alignment)
.zIndex(2.0)
}
}
}
}
Expand Down

0 comments on commit 9843019

Please sign in to comment.