Skip to content

Commit

Permalink
(cargo-release) version 0.3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
pierre committed Jul 23, 2022
1 parent 7723173 commit bd8f0a7
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mpc_valet"
version = "0.3.8-dev"
version = "0.3.8"
edition = "2021"
authors = ["Pierre Lulé <[email protected]>"]
description = "A tool for creating instrument for MPC drum machines."
Expand Down
17 changes: 17 additions & 0 deletions src/components/note_select.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,24 @@ impl Component for NoteSelect {
let note = MidiNote::from_byte(byte);
let opt_str = format!("{}{}", note.pitch(), note.octave());
html! {
<>
<p class="navbar-item">
<div class="dropdown is-active">
<div class="dropdown-trigger mx-2">
{"Submenu 1&nbsp;&nbsp;&nbsp;"}
<i class="fas fa-angle-right"></i>
</div>
<div class="dropdown-menu" role="menu" style="top:-15px;margin-left:100%;">
<div class="dropdown-content">
<a href="#" class="dropdown-item">{"coso 2"}</a>
<a href="#" class="dropdown-item">{"coso"}</a>
<a href="#" class="dropdown-item">{"cosito"}</a>
</div>
</div>
</div>
</p>
<option value={opt_str.clone()} selected={note == value}>{opt_str.clone()}</option>
</>
}
})
.collect();
Expand Down

0 comments on commit bd8f0a7

Please sign in to comment.