From 74abc48dddc94e35fd1dc51806fac9678b680cb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Kr=C3=BCger?= Date: Sun, 14 Jan 2024 07:18:40 +0100 Subject: [PATCH] Updated to egui 0.25. --- Cargo.toml | 14 +++++++------- view_library/src/ui/mod.rs | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 519e0c4..82cddd0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "icy_view" -version = "0.5.0" +version = "0.5.1" edition = "2021" description = "A fast ansi art viewer." authors = ["Mike Krüger "] @@ -10,10 +10,10 @@ repository = "https://github.com/mkrueger/icy_view" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -eframe = "0.24.1" -egui_extras = { version="0.24.1", features = ["svg", "image"] } -egui_glow = "0.24.1" -glow = "0.12.3" +eframe = "0.25.0" +egui_extras = { version="0.25.0", features = ["svg", "image"] } +egui_glow = "0.25.0" +glow = "0.13.0" memmap = "0.7.0" clap = { version="4.4.0", features = ["derive"] } zip = "0.6.6" @@ -24,8 +24,8 @@ i18n-embed = { version = "0.14.0", features = ["fluent-system", "desktop-request i18n-embed-fl = "0.7.0" once_cell = "1.16.0" rust-embed = "8.0.0" -egui-modal = "0.3.0" -egui-notify = "0.11.0" +egui-modal = "0.3.2" +egui-notify = "0.12.0" lazy_static = "1.4.0" image = { version = "0.24", features = ["jpeg", "png", "gif", "bmp"] } diff --git a/view_library/src/ui/mod.rs b/view_library/src/ui/mod.rs index 1a76a40..a3d153c 100644 --- a/view_library/src/ui/mod.rs +++ b/view_library/src/ui/mod.rs @@ -12,7 +12,7 @@ use std::{ env::current_dir, path::PathBuf, sync::{Arc, Mutex}, - time::Duration, rc::Rc, + time::Duration, }; use self::file_view::{FileEntry, FileView, Message}; @@ -123,7 +123,7 @@ impl<'a> App for MainWindow<'a> { } impl<'a> MainWindow<'a> { - pub fn new(gl: &Rc, mut initial_path: Option) -> Self { + pub fn new(gl: &Arc, mut initial_path: Option) -> Self { let mut view = BufferView::new(gl); view.interactive = false;