cleanup + proper loading bar

This commit is contained in:
Simon Gardling
2022-05-11 10:26:36 -04:00
parent 42596be571
commit e6bee04113
7 changed files with 78 additions and 57 deletions

View File

@@ -72,6 +72,8 @@ pub const COLORS: &[Color32; 13] = &[
Color32::DARK_BLUE,
];
const_assert!(!COLORS.is_empty());
#[cfg(target_arch = "wasm32")]
lazy_static::lazy_static! {
static ref IS_MOBILE: bool = {