Skip to content

Commit

Permalink
Change center fill to middle grey
Browse files Browse the repository at this point in the history
  • Loading branch information
Beinsezii committed Dec 29, 2023
1 parent 533a98d commit f694f8d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/gui/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -348,8 +348,11 @@ impl App for CollurgyUI {
ui.add(Label::new(self.output()).wrap(false))
});
});
let mut fill = [0.5, 0.0, 0.0];
colcon::convert_space(colcon::Space::OKLAB, colcon::Space::SRGB, &mut fill);
let fill = egui::Rgba::from_rgb(fill[0], fill[1], fill[2]);
CentralPanel::default()
.frame(Frame::none().fill(colors[8]))
.frame(Frame::none().fill(fill.into()))
.show(&ctx, |ui| {
// {{{
ui.horizontal(|ui| {
Expand Down

0 comments on commit f694f8d

Please sign in to comment.