Skip to content

Commit

Permalink
Web fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
FloVanGH committed Feb 21, 2020
1 parent b98c69a commit 6e3cdbf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "orbtk"
version = "0.3.1-alpha1"
version = "0.3.1-alpha2"
authors = [
"Florian Blasius <flovanpt@posteo.de>",
"Jeremy Soller <jackpot51@gmail.com>"
Expand Down
2 changes: 1 addition & 1 deletion crates/render/src/web/image.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,6 @@ impl Image {
// todo not yet available for web
impl From<(u32, u32, Vec<u32>)> for Image {
fn from(image: (u32, u32, Vec<u32>)) -> Self {
Image::new(image.0, image.1).unwrap()
Image::new(image.0.into(), image.1.into())
}
}

0 comments on commit 6e3cdbf

Please sign in to comment.