opening files works o.o

This commit is contained in:
lunarydess
2025-02-18 17:18:12 +01:00
parent 2245bd0feb
commit 6025512ff9
4 changed files with 22 additions and 13 deletions

View File

@@ -1,10 +1,10 @@
use eframe::Renderer;
use Application_Catnip::TemplateApp;
use Application_Catnip::CatnipApp;
fn main() {
env_logger::init();
eframe::run_native(
"Meow",
"Catnip Editor",
eframe::NativeOptions {
centered: true,
renderer: Renderer::Glow,
@@ -13,7 +13,7 @@ fn main() {
.with_min_inner_size([300.0, 220.0]),
..Default::default()
},
Box::new(|context| Ok(Box::new(TemplateApp::new(context)))),
Box::new(|context| Ok(Box::new(CatnipApp::new(context)))),
)
.expect("TODO: panic message");
}