We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2821930 commit 9399dbbCopy full SHA for 9399dbb
1 file changed
playgrounds/ComposeUIPlayground-iOS/ComposeUIPlayground-iOS/PlaygroundViews/Playground+ShadowView.swift
@@ -413,10 +413,15 @@ extension Playground {
413
414
Spacer(height: 32)
415
}
416
-
417
.frame(.flexible)
418
419
+ override init(frame: CGRect) {
420
+ super.init(frame: frame)
421
+
422
+ clippingBehavior = .always
423
+ }
424
425
override func animate() {
426
size = CGSize(width: CGFloat.random(in: 50 ... 150), height: CGFloat.random(in: 50 ... 150))
427
cornerRadius = CGFloat.random(in: 0 ... 25)
0 commit comments