Skip to content

Commit

Permalink
Removed debug flag in release build and unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Azorlogh committed Jun 2, 2020
1 parent 9097aad commit e899d46
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 31 deletions.
4 changes: 0 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ version = "0.1.0"
authors = ["Azorlogh <[email protected]>"]
edition = "2018"


[profile.release]
debug = true

[dependencies]
druid = "0.6.0"
cpal = "0.11.0"
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ How to use:
- Delete notes with right click.
- Add relative notes by double clicking a note.
- Navigate the board with the scrollbars, or with the mouse wheel (Ctrl/Shift/Alt to change the behavior of the wheel)
- Play the sheet with the spacebar

The layout of the piano roll can be altered in many different ways using the `Layout` button.
Layout markers can be added by right clicking the cursor bar.


## TODO
Expand Down
27 changes: 0 additions & 27 deletions src/theme.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,30 +51,3 @@ pub fn apply(env: &mut Env, _data: &crate::state::State) {
env.set(NOTE_HEIGHT, 18.0);
env.set(NOTE_SCALE_KNOB, 32.0);
}

// pub fn apply(env: &mut Env) {
// env.set(COLOR_0, color(0x09DBDB));
// env.set(COLOR_1, color(0x1C5151));
// env.set(COLOR_2, color(0x5FACAC));
// env.set(COLOR_3, color(0x6F7A7A));
// env.set(COLOR_4, color(0x6F7A7A));

// env.set(FEATURE_COLOR, color(0xFFA50B));
// env.set(SELECTED_COLOR, color(0xFFD58C));

// env.set(BACKGROUND_0, color(0x243959));
// env.set(BACKGROUND_1, color(0x7B7F86));
// env.set(BACKGROUND_2, color(0x47515F));
// }

// pub fn apply(env: &mut Env) {
// env.set(COLOR_0, Color::rgb8(0x86, 0x86, 0x86));
// env.set(COLOR_1, Color::rgb8(0x24, 0x24, 0x24));
// env.set(COLOR_2, Color::rgb8(0x64, 0x64, 0x64));

// env.set(FEATURE_COLOR, Color::rgb8(0x40, 0x9E, 0xA4));

// env.set(BACKGROUND_0, Color::rgb8(0x32, 0x32, 0x32));
// env.set(BACKGROUND_1, Color::rgb8(0xA4, 0xA4, 0xA4));
// env.set(BACKGROUND_2, Color::rgb8(0x76, 0x76, 0x76));
// }

0 comments on commit e899d46

Please sign in to comment.