Update vizia, cpal, and other dependencies
Vizia wouldn't compile anymore because of mixed create versions in femtovg, so the fork had to be updated. cpal had a similar thing with nix and alsa.
This commit is contained in:
parent
ba9e9253f2
commit
821bb90194
|
@ -6,6 +6,11 @@ new and what's changed, this document lists all breaking changes in reverse
|
|||
chronological order. If a new feature did not require any changes to existing
|
||||
code then it will not be listed here.
|
||||
|
||||
## [2022-10-23]
|
||||
|
||||
- `nih_plug_vizia` has been updated. Widgets with custom drawing code will need
|
||||
to be updated because of changes in Vizia itself.
|
||||
|
||||
## [2022-10-22]
|
||||
|
||||
- The `Editor` trait and the `ParentWindowHandle` struct have been moved from
|
||||
|
|
963
Cargo.lock
generated
963
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -106,7 +106,7 @@ assert_no_alloc = { git = "https://github.com/robbert-vdh/rust-assert-no-alloc.g
|
|||
baseview = { git = "https://github.com/robbert-vdh/baseview.git", branch = "feature/resize", features = ["opengl"], optional = true }
|
||||
# All the claps!
|
||||
clap = { version = "3.2", features = ["derive"], optional = true }
|
||||
cpal = { version = "0.13.5", optional = true }
|
||||
cpal = { version = "0.14.1", optional = true }
|
||||
# The current upstream jack panics when it can't load the JACK library, which breaks the backend fallback
|
||||
jack = { git = "https://github.com/robbert-vdh/rust-jack.git", branch = "feature/handle-library-failure", optional = true }
|
||||
rtrb = { version = "0.2.2", optional = true }
|
||||
|
|
|
@ -187,7 +187,7 @@ where
|
|||
|
||||
// Fill with background color
|
||||
let paint = vg::Paint::color(background_color);
|
||||
canvas.fill_path(&mut path, paint);
|
||||
canvas.fill_path(&mut path, &paint);
|
||||
|
||||
// And now for the fun stuff. We'll try to not overlap the border, but we'll draw that last
|
||||
// just in case.
|
||||
|
@ -222,7 +222,7 @@ where
|
|||
opacity,
|
||||
));
|
||||
paint.set_line_width(TICK_WIDTH * dpi_scale);
|
||||
canvas.stroke_path(&mut path, paint);
|
||||
canvas.stroke_path(&mut path, &paint);
|
||||
}
|
||||
|
||||
// Draw the hold peak value if the hold time option has been set
|
||||
|
@ -241,12 +241,12 @@ where
|
|||
|
||||
let mut paint = vg::Paint::color(vg::Color::rgbaf(0.3, 0.3, 0.3, opacity));
|
||||
paint.set_line_width(TICK_WIDTH * dpi_scale);
|
||||
canvas.stroke_path(&mut path, paint);
|
||||
canvas.stroke_path(&mut path, &paint);
|
||||
}
|
||||
|
||||
// Draw border last
|
||||
let mut paint = vg::Paint::color(border_color);
|
||||
paint.set_line_width(border_width);
|
||||
canvas.stroke_path(&mut path, paint);
|
||||
canvas.stroke_path(&mut path, &paint);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -144,12 +144,12 @@ impl View for ResizeHandle {
|
|||
|
||||
// Fill with background color
|
||||
let paint = vg::Paint::color(background_color);
|
||||
canvas.fill_path(&mut path, paint);
|
||||
canvas.fill_path(&mut path, &paint);
|
||||
|
||||
// Borders are only supported to make debugging easier
|
||||
let mut paint = vg::Paint::color(border_color);
|
||||
paint.set_line_width(border_width);
|
||||
canvas.stroke_path(&mut path, paint);
|
||||
canvas.stroke_path(&mut path, &paint);
|
||||
|
||||
// We'll draw a simple triangle, since we're going flat everywhere anyways and that style
|
||||
// tends to not look too tacky
|
||||
|
@ -182,7 +182,7 @@ impl View for ResizeHandle {
|
|||
let mut color: vg::Color = cx.font_color().copied().unwrap_or(Color::white()).into();
|
||||
color.set_alphaf(color.a * opacity);
|
||||
let paint = vg::Paint::color(color);
|
||||
canvas.fill_path(&mut path, paint);
|
||||
canvas.fill_path(&mut path, &paint);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue