Bump egui versions

This commit is contained in:
rbmj
2025-02-11 21:36:26 -05:00
committed by Robbert van der Helm
parent 91a0ff745e
commit b12a0ebdbe
3 changed files with 6 additions and 3 deletions

View File

@@ -18,9 +18,9 @@ rayon = ["egui-baseview/rayon"]
[dependencies]
nih_plug = { path = "..", default-features = false }
raw-window-handle = "0.5"
baseview = { git = "https://github.com/RustAudio/baseview.git", rev = "45465c5f46abed6c6ce370fffde5edc8e4cd5aa3" }
baseview = { git = "https://github.com/RustAudio/baseview.git", rev = "9a0b42c09d712777b2edb4c5e0cb6baf21e988f0", features = ['opengl'] }
crossbeam = "0.8"
egui-baseview = { git = "https://github.com/BillyDM/egui-baseview.git", rev = "87a6cbead6cf89ca27c2f0448e480e901cc2754d", default-features = false }
egui-baseview = { git = "https://github.com/BillyDM/egui-baseview.git", reg = "ec70c3fe6b2f070dcacbc22924431edbe24bd1c0", default-features = false, features = ['opengl'] }
parking_lot = "0.12"
# To make the state persistable
serde = { version = "1.0", features = ["derive"] }

View File

@@ -101,6 +101,7 @@ where
..Default::default()
}),
},
Default::default(),
state,
move |egui_ctx, _queue, state| build(egui_ctx, &mut state.write()),
move |egui_ctx, queue, state| {

View File

@@ -236,6 +236,7 @@ impl<'a, P: Param> ParamSlider<'a, P> {
response.rect,
0.0,
Stroke::new(1.0, ui.visuals().widgets.active.bg_fill),
egui::StrokeKind::Middle,
);
}
}
@@ -291,9 +292,10 @@ impl<'a, P: Param> ParamSlider<'a, P> {
let stroke = visuals.bg_stroke;
ui.painter().rect(
response.rect.expand(visuals.expansion),
visuals.rounding,
visuals.rounding(),
fill,
stroke,
egui::StrokeKind::Middle,
);
}