bump
This commit is contained in:
parent
9261c41cd8
commit
9eb090924a
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "pixsy"
|
name = "pixsy"
|
||||||
version = "0.72.4"
|
version = "0.72.5"
|
||||||
description = "convert images to Bitsy rooms"
|
description = "convert images to Bitsy rooms"
|
||||||
authors = ["Max Bradbury <max@tinybird.info>"]
|
authors = ["Max Bradbury <max@tinybird.info>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
|
@ -190,11 +190,11 @@ fn render_preview(state: &State) -> DynamicImage {
|
||||||
let palette = match &state.palette {
|
let palette = match &state.palette {
|
||||||
SelectedPalette::None => bitsy_parser::mock::game_default().palettes[0].clone(),
|
SelectedPalette::None => bitsy_parser::mock::game_default().palettes[0].clone(),
|
||||||
SelectedPalette::Existing { id } => state.game.as_ref().unwrap().get_palette(id).unwrap().clone(),
|
SelectedPalette::Existing { id } => state.game.as_ref().unwrap().get_palette(id).unwrap().clone(),
|
||||||
SelectedPalette::New { background, foreground } => Palette {
|
SelectedPalette::New { background, foreground } => bitsy_parser::Palette {
|
||||||
id: "0".to_string(),
|
id: "0".to_string(),
|
||||||
name: None,
|
name: None,
|
||||||
colours: vec![
|
colours: vec![
|
||||||
background.clone(), foreground.clone(), Colour { red: 0, green: 0, blue: 0 }
|
background.clone(), foreground.clone(), bitsy_parser::Colour { red: 0, green: 0, blue: 0 }
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue