Skip to content

Commit

Permalink
Cleanup: rename edit_commands.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrGlad committed Nov 30, 2023
1 parent 12f55a0 commit d2f4398
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/changeset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ use std::collections::HashMap;
use serde::{Deserialize, Serialize};

use crate::common::VersionId;
use crate::edit_commands::{CommandDiff, EditCommandId};
use crate::track::{EventId, Note, Track, TrackEvent, TrackEventType};
use crate::track_edit::{CommandDiff, EditCommandId};

/// Simplest track edit operation. See [Changeset] for uses.
#[derive(Debug, PartialEq, Eq, Clone, Serialize, Deserialize)]
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ mod audio_setup;
mod changeset;
mod common;
mod config;
mod edit_commands;
mod engine;
mod midi;
mod midi_vst;
mod project;
mod stave;
mod track;
mod track_edit;
mod track_history;
mod track_source;
mod util;
Expand Down
8 changes: 4 additions & 4 deletions src/stave.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ use ordered_float::OrderedFloat;
use serde::{Deserialize, Serialize};

use crate::common::{Time, VersionId};
use crate::edit_commands::{
accent_selected_notes, add_new_note, delete_selected, set_damper, shift_selected, shift_tail,
stretch_selected_notes, tape_delete, tape_insert, transpose_selected_notes,
};
use crate::track::{
export_smf, EventId, Level, Pitch, Track, TrackEvent, TrackEventType, MIDI_CC_SUSTAIN_ID,
};
use crate::track_edit::{
accent_selected_notes, add_new_note, delete_selected, set_damper, shift_selected, shift_tail,
stretch_selected_notes, tape_delete, tape_insert, transpose_selected_notes,
};
use crate::track_history::TrackHistory;
use crate::{util, Pix};

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/track_history.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ use serde::{Deserialize, Serialize};

use crate::changeset::{Changeset, EventAction, HistoryLogEntry, Snapshot};
use crate::common::VersionId;
use crate::edit_commands::{apply_diffs, revert_diffs, CommandDiff, EditCommandId};
use crate::track::{import_smf, Track};
use crate::track_edit::{apply_diffs, revert_diffs, CommandDiff, EditCommandId};
use crate::util;
use crate::util::IdSeq;

Expand Down

0 comments on commit d2f4398

Please sign in to comment.