Follow makeover-immediate 0.2.0: well is a plain colour
Palette::well stopped being an Option once the substitution behind it was
removed, and this app was the only Palette literal anywhere, so it is the
whole migration.
345 tests pass, clippy clean across the workspace.
3 files changed,
+8 insertions,
-7 deletions
| 2990 |
2990 |
|
|
| 2991 |
2991 |
|
[[package]]
|
| 2992 |
2992 |
|
name = "makeover-immediate"
|
| 2993 |
|
- |
version = "0.1.0"
|
|
2993 |
+ |
version = "0.2.0"
|
| 2994 |
2994 |
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 2995 |
|
- |
checksum = "e9c54bbb052c5a78ce96524c0a9755b1d379b9cde3dbeec9ad58eb4748e22372"
|
|
2995 |
+ |
checksum = "585c3d40b2a466e930c4a66d78a1cb4d45b8923d43e6fcca2a71a0340442484b"
|
| 2996 |
2996 |
|
dependencies = [
|
| 2997 |
2997 |
|
"egui",
|
| 2998 |
2998 |
|
"makeover-layout",
|
| 13 |
13 |
|
audiofiles-sync = { path = "crates/audiofiles-sync" }
|
| 14 |
14 |
|
audiofiles-rhai = { path = "crates/audiofiles-rhai" }
|
| 15 |
15 |
|
makeover-layout = "0.1.0"
|
| 16 |
|
- |
makeover-immediate = "0.1.0"
|
|
16 |
+ |
makeover-immediate = "0.2.0"
|
| 17 |
17 |
|
egui = { version = "0.35", default-features = false, features = ["default_fonts"] }
|
| 18 |
18 |
|
egui_extras = { version = "0.35", default-features = false }
|
| 19 |
19 |
|
eframe = { version = "0.35", default-features = false, features = ["default_fonts", "glow"] }
|
| 365 |
365 |
|
/// than a handle: it is six `Copy` colors read under one lock, so a caller
|
| 366 |
366 |
|
/// painting several regions in a frame is not taking the lock per edge.
|
| 367 |
367 |
|
///
|
| 368 |
|
- |
/// `well` carries a real colour now. It was `None` until makeover 2.3.0 was
|
| 369 |
|
- |
/// published, and `makeover-immediate` substituted the page in its place; that
|
| 370 |
|
- |
/// substitution is now the degraded path rather than the normal one.
|
|
368 |
+ |
/// `well` is a plain colour. It was an `Option` that this app left `None`
|
|
369 |
+ |
/// until makeover 2.3.0 derived `surface-well`, and the renderer substituted
|
|
370 |
+ |
/// the page meanwhile; that substitution is gone from makeover-immediate 0.2.0
|
|
371 |
+ |
/// because nothing needed it once this app read the real token.
|
| 371 |
372 |
|
pub fn palette() -> makeover_immediate::Palette {
|
| 372 |
373 |
|
let t = THEME.read();
|
| 373 |
374 |
|
makeover_immediate::Palette {
|
| 374 |
375 |
|
page: t.surface_page,
|
| 375 |
376 |
|
raised: t.surface_raised,
|
| 376 |
377 |
|
overlay: t.surface_overlay,
|
| 377 |
|
- |
well: Some(t.surface_well),
|
|
378 |
+ |
well: t.surface_well,
|
| 378 |
379 |
|
bevel_light: t.bevel_light,
|
| 379 |
380 |
|
bevel_dark: t.bevel_dark,
|
| 380 |
381 |
|
}
|