Skip to content

The compiler is unable to type-check this expression in reasonable time #48

@fqclovelal

Description

@fqclovelal

var body: some View {
ZStack {
ForEach(
self.matrix.flatten.map { IdentifiableIndexedBlock(indexedBlock: $0) }
) { block in
self.createBlock(block.item)
.frame(width: 65, height: 65, alignment: .center)
.position(x: CGFloat(block.index.0) * (65 + 12) + 32.5 + 12,
y: CGFloat(block.index.1) * (65 + 12) + 32.5 + 12)

                .transition(.blockAppear(from: self.blockEnterEdge))
            
        }
    }.frame(width: 320, height: 320, alignment: .center)
    .background(
        Rectangle()
            .fill(Color(red:0.72, green:0.66, blue:0.63, opacity:1.00))
    ).clipped().cornerRadius(6)
}

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions