Skip to content

Commit

Permalink
tweak look
Browse files Browse the repository at this point in the history
  • Loading branch information
magnetophon committed Apr 21, 2024
1 parent 69408e2 commit 76fdb1a
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions src/editor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -361,9 +361,9 @@ fn peak_graph(cx: &mut Context) {
ValueScaling::Linear,
(METER_MIN, METER_MAX),
vec![0.0, -6.0, -12.0, -18.0, -24.0],
Orientation::Vertical,
Orientation::Horizontal,
)
.color(Color::rgb(60, 60, 60));
.color(Color::rgba(160, 160, 160, 60));

// level
Graph::new(
Expand Down Expand Up @@ -426,13 +426,11 @@ fn peak_graph(cx: &mut Context) {
Orientation::Vertical,
)
.font_size(12.)
.color(Color::rgb(160, 160, 160))
.color(Color::rgb(30, 30, 30))
.width(Pixels(32.));
})
.top(Pixels(13.0))
.height(Pixels(333.0))
.top(Pixels(20.0))
.height(Pixels(326.0))
.width(Percentage(100.0))
.col_between(Pixels(8.))
.border_color(Color::rgba(0, 0, 0, 0))
.border_width(Pixels(1.));
.col_between(Pixels(8.));
}

0 comments on commit 76fdb1a

Please sign in to comment.