Skip to content

Commit

Permalink
Make PianoRollNote properties public (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
josephktcheung authored Nov 1, 2022
1 parent b7b62d5 commit b88b93c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Sources/PianoRoll/PianoRollNote.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@ public struct PianoRollNote: Equatable, Identifiable {
public var id = UUID()

/// Individual note color. It will default to `noteColor` in `PianoRoll` if not set.
var color: Color?
public var color: Color?

/// The start step
var start: Double
public var start: Double

/// Duration, measured in steps
var length: Double
public var length: Double

/// Abstract pitch, not MIDI notes.
var pitch: Int
public var pitch: Int

/// Optional text shown on the note view
var text: String?
public var text: String?
}

0 comments on commit b88b93c

Please sign in to comment.