Skip to content

Commit 95611ab

Browse files
committed
Small cleanups
1 parent f09b2b6 commit 95611ab

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/app/compositor.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ use std::{num::NonZeroU32, sync::Arc, time::Duration};
1010
use tokio::sync::watch::{Receiver, Sender};
1111

1212
pub struct CompositorApp {
13-
pub target: Compositor,
14-
pub needs_to_load_chunks: AtomicBool,
15-
pub pipeline: Pipeline,
13+
target: Compositor,
14+
needs_to_load_chunks: AtomicBool,
15+
pipeline: Pipeline,
1616
rx: Receiver<Arc<ProcreateFile>>,
1717
alive: Arc<AtomicBool>,
1818
}

src/gui/silicate/background.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ impl BackgroundControl<'_> {
3232
collapsible.show_body_unindented(ui, |ui| {
3333
let mut rgb = Rgba::from_rgb(r, g, b);
3434
ColorPickerHsv::new(&mut rgb).ui(ui);
35-
self.file.background_color = rgb.to_rgba_unmultiplied();
35+
self.file.background_color = rgb.to_array();
3636
});
3737
}
3838
}

0 commit comments

Comments
 (0)