Skip to content

Commit

Permalink
More doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrGlad committed Aug 17, 2024
1 parent 0a31f50 commit b33c315
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/stave.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,19 @@ impl EditTransition {
pub struct Stave {
pub history: RefCell<TrackHistory>,

/// Starting moment of visible time range.
pub time_left: Time,
/// End moment of visible time range.
pub time_right: Time,
/// The widget's displayed rectangle coordinates.
pub view_rect: Rect,

pub cursor_position: Time,
pub time_selection: Option<Range<Time>>,
/// Currently drawn note.
pub note_draw: Option<NoteDraw>,
pub note_selection: NotesSelection,
/// Change animation parameters.
pub transition: Option<EditTransition>,
}

Expand Down

0 comments on commit b33c315

Please sign in to comment.