Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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) #18

Closed
mattyoung opened this issue Apr 15, 2022 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@mattyoung
Copy link

ConfettiCannon(counter: $counter, num: 200, repetitions: 3, repetitionInterval: 3)

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)

@simibac
Copy link
Owner

simibac commented Apr 15, 2022

Need more details on how I can reproduce the error.

@simibac simibac added the help wanted Extra attention is needed label Apr 15, 2022
@mattyoung
Copy link
Author

mattyoung commented Apr 15, 2022

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.

@simibac simibac closed this as completed Apr 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants