Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Commit

Permalink
Updated to egui 0.25.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrueger committed Jan 14, 2024
1 parent 54aa3bc commit 74abc48
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <mkrueger@posteo.de>"]
Expand All @@ -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"
Expand All @@ -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"] }
Expand Down
4 changes: 2 additions & 2 deletions view_library/src/ui/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down Expand Up @@ -123,7 +123,7 @@ impl<'a> App for MainWindow<'a> {
}

impl<'a> MainWindow<'a> {
pub fn new(gl: &Rc<glow::Context>, mut initial_path: Option<PathBuf>) -> Self {
pub fn new(gl: &Arc<glow::Context>, mut initial_path: Option<PathBuf>) -> Self {
let mut view = BufferView::new(gl);
view.interactive = false;

Expand Down

0 comments on commit 74abc48

Please sign in to comment.