Skip to content

Commit

Permalink
chore: updates
Browse files Browse the repository at this point in the history
  • Loading branch information
wash2 committed Dec 4, 2023
1 parent f68e1ac commit f7a1485
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 10 deletions.
12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ members = [
]

[dependencies]
iced = { git = "https://github.com/iced-rs/iced", rev = "7f8b176", features = ["tokio"], optional = true }
iced = { git = "https://github.com/iced-rs/iced", rev = "8727b3f", features = ["tokio"], optional = true }
# iced = { version = "0.12.0", features = [ "tokio" ], optional = true }
iced_runtime = { git = "https://github.com/iced-rs/iced", rev = "7f8b176", optional = true }
iced_widget = { git = "https://github.com/iced-rs/iced", rev = "7f8b176", optional = true }
iced_futures = { git = "https://github.com/iced-rs/iced", rev = "7f8b176", optional = true }
iced_core = { git = "https://github.com/iced-rs/iced", rev = "7f8b176", optional = true }
iced_style = { git = "https://github.com/iced-rs/iced", rev = "7f8b176", optional = true }
iced_runtime = { git = "https://github.com/iced-rs/iced", rev = "8727b3f", optional = true }
iced_widget = { git = "https://github.com/iced-rs/iced", rev = "8727b3f", optional = true }
iced_futures = { git = "https://github.com/iced-rs/iced", rev = "8727b3f", optional = true }
iced_core = { git = "https://github.com/iced-rs/iced", rev = "8727b3f", optional = true }
iced_style = { git = "https://github.com/iced-rs/iced", rev = "8727b3f", optional = true }
libcosmic = { git = "https://github.com/pop-os/libcosmic/", default-features = false, features = [ "tokio" ], branch = "update-0.12", optional = true }
# libcosmic = { path = "../libcosmic", optional = true, features = [ "tokio" ]}
once_cell = { version = "1.18.0", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion examples/pokedex/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"
publish = false

[dependencies]
iced = { git = "https://github.com/iced-rs/iced", rev = "7f8b176", features = ["image", "debug", "tokio"] }
iced = { git = "https://github.com/iced-rs/iced", rev = "8727b3f", features = ["image", "debug", "tokio"] }
cosmic-time = { path = "../..", default-features = false, features = ["iced", "once_cell"] }
serde_json = "1.0"

Expand Down
2 changes: 1 addition & 1 deletion examples/stopwatch/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ edition = "2021"
publish = false

[dependencies]
iced = { git = "https://github.com/iced-rs/iced", rev = "7f8b176", features = ["smol"] }
iced = { git = "https://github.com/iced-rs/iced", rev = "8727b3f", features = ["smol"] }
cosmic-time = { path = "../..", default-features = false, features = ["iced", "once_cell"] }

3 changes: 2 additions & 1 deletion src/widget/cosmic_toggler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ where
style: &renderer::Style,
layout: Layout<'_>,
cursor_position: mouse::Cursor,
_viewport: &Rectangle,
viewport: &Rectangle,
) {
/// Makes sure that the border radius of the toggler looks good at every size.
const BORDER_RADIUS_RATIO: f32 = 32.0 / 13.0;
Expand All @@ -274,6 +274,7 @@ where
label_layout,
tree.state.downcast_ref(),
iced_widget::text::Appearance::default(),
viewport,
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/widget/toggler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ where
style: &renderer::Style,
layout: Layout<'_>,
cursor_position: mouse::Cursor,
_viewport: &Rectangle,
viewport: &Rectangle,
) {
/// Makes sure that the border radius of the toggler looks good at every size.
const BORDER_RADIUS_RATIO: f32 = 32.0 / 13.0;
Expand All @@ -273,6 +273,7 @@ where
label_layout,
tree.state.downcast_ref(),
iced_widget::text::Appearance::default(),
viewport,
);
}

Expand Down

0 comments on commit f7a1485

Please sign in to comment.