Set default case for block type opacity

This commit is contained in:
Joshua Barretto 2019-06-06 22:02:59 +01:00
parent a34aff3a8b
commit cf193a97c4

View File

@ -28,8 +28,7 @@ impl Block {
match self.kind {
0 => None,
1 => Some(0.85),
2 => Some(1.0),
_ => unimplemented!(),
_ => Some(1.0),
}
}
}