Closed mattyoung closed 2 years ago
Need more details on how I can reproduce the error.
This is all I did with Xcode 13.3.1 in simulator:
import SwiftUI
import ConfettiSwiftUI
struct ContentView: View {
@State private var counter = 0
var body: some View {
ZStack{
Text("🎉").font(.system(size: 50)).onTapGesture(){counter += 1}
ConfettiCannon(counter: $counter, num: 200, repetitions: 3, repetitionInterval: 3)
}
.onAppear { counter += 1 }
}
}
I just run this in simulator. But when I run it again today, it doesn't show this in console anymore.
This is shown on console:
ignoring singular matrix: ProjectionTransform(m11: 1.0, m12: 0.0, m13: 0.0, m21: -0.5, m22: -0.5, m23: -0.1, m31: 2.5, m32: 7.5, m33: 1.5) ignoring singular matrix: ProjectionTransform(m11: 1.0, m12: 0.0, m13: 0.0, m21: 0.5, m22: 0.5, m23: 0.1, m31: -2.5, m32: 2.5, m33: 0.5)