Skip to content

Commit

Permalink
fix: PKToolPicker lifecycle
Browse files Browse the repository at this point in the history
  • Loading branch information
bsorrentino committed Mar 7, 2024
1 parent fc00eb3 commit e2ec080
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PlantUML/SwiftUI+PencilKit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ struct DrawingView: UIViewRepresentable {

var type: PKInkingTool.InkType = .pencil
var color: Color = .black
let picker = PKToolPicker()
@State var picker = PKToolPicker()

// let eraser = PKEraserTool(.bitmap)

Expand Down

0 comments on commit e2ec080

Please sign in to comment.