diff --git a/Cargo.toml b/Cargo.toml index d4f1259..eec3d77 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "icy_term" -version = "0.6.4" +version = "0.6.5" edition = "2021" authors = ["Mike Krüger "] description = "A terminal program supporting CP437, PetScii and ViewData" @@ -30,8 +30,8 @@ versions = "5.0.1" #sound rodio = { version = "0.17.1" , default-features = false, features = [] } icy_engine = { git ="https://github.com/mkrueger/icy_engine" } -#icy_engine = { path = "../icy_engine" } icy_engine_egui = { git ="https://github.com/mkrueger/icy_engine_egui" } +#icy_engine = { path = "../icy_engine" } #icy_engine_egui = { path = "../icy_engine_egui" } walkdir = "2" diff --git a/src/ui/util/screen_modes.rs b/src/ui/util/screen_modes.rs index a831b83..204f413 100644 --- a/src/ui/util/screen_modes.rs +++ b/src/ui/util/screen_modes.rs @@ -77,9 +77,7 @@ impl ScreenMode { pub fn get_window_size(&self) -> Size { match self { // ScreenMode::Cga(w, h) | ScreenMode::Ega(w, h) | - ScreenMode::Vga(w, h) => { - Size::new(*w as usize, *h as usize) - } + ScreenMode::Vga(w, h) => Size::new(*w as usize, *h as usize), ScreenMode::Vic => Size::new(40, 25), ScreenMode::Antic | ScreenMode::Videotex => Size::new(40, 24), ScreenMode::Default => Size::new(80, 25),