diff --git a/neothesia/src/icons.rs b/neothesia/src/icons.rs index d15532e6..5c449771 100644 --- a/neothesia/src/icons.rs +++ b/neothesia/src/icons.rs @@ -1,3 +1,5 @@ +#![allow(unused)] + pub fn cone_icon() -> &'static str { "\u{F2D2}" } @@ -34,7 +36,6 @@ pub fn plus_icon() -> &'static str { "\u{F4FE}" } -#[allow(unused)] pub fn balloon_icon() -> &'static str { "\u{f709}" } diff --git a/neothesia/src/main.rs b/neothesia/src/main.rs index 1ecea8f6..384292c1 100644 --- a/neothesia/src/main.rs +++ b/neothesia/src/main.rs @@ -108,6 +108,7 @@ impl Neothesia { self.context.window.set_fullscreen(Some(f)); } } + return; } } WindowEvent::RedrawRequested => { diff --git a/neothesia/src/scene/menu_scene/mod.rs b/neothesia/src/scene/menu_scene/mod.rs index 76d5e7c5..4611c911 100644 --- a/neothesia/src/scene/menu_scene/mod.rs +++ b/neothesia/src/scene/menu_scene/mod.rs @@ -243,7 +243,7 @@ impl MenuScene { if neo_btn() .size(btn_w, btn_h) - .icon(icons::cone_icon()) + .icon(icons::balloon_icon()) .color([100; 3]) .tooltip("FreePlay") .build(ui)