Compare commits

..

No commits in common. "0960021ec36eb986765a1d1e47753bcb0b147de1" and "68d2080030006669384d3b2a4b965c9ee1cdb4cb" have entirely different histories.

2 changed files with 7 additions and 7 deletions

View File

@ -6,6 +6,6 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
egui = "0.28.1"
eframe = "0.28.1"
egui = "0.22.0"
eframe = "0.22.0"
tracing-subscriber = "0.3.16"

View File

@ -1,8 +1,7 @@
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] // hide console window on Windows in release
mod app;
mod theme;
mod app;
use app::App;
use egui::ViewportBuilder;
fn main() -> Result<(), eframe::Error> {
// Log to stdout (if you run with `RUST_LOG=debug`).
@ -10,7 +9,8 @@ fn main() -> Result<(), eframe::Error> {
// Setup the options for the default window
let options = eframe::NativeOptions {
viewport: ViewportBuilder::default().with_inner_size(egui::vec2(300.0, 200.0)),
initial_window_size: Some(egui::vec2(300.0, 200.0)),
resizable: true,
..Default::default()
};
@ -18,6 +18,6 @@ fn main() -> Result<(), eframe::Error> {
eframe::run_native(
"egui-template",
options,
Box::new(|_cc| Ok(Box::new(App::default()))),
Box::new(|_cc| Box::new(App::default())),
)
}