wip: update to use latest iced

This commit is contained in:
Ashley Wulber 2024-01-30 22:14:00 -05:00 committed by Ashley Wulber
parent ca1469a6b2
commit f4ad098647
49 changed files with 956 additions and 854 deletions

View file

@ -3,7 +3,7 @@
// SPDX-License-Identifier: MPL-2.0 AND MIT
//! Change the appearance of menus.
use iced_core::{Background, BorderRadius, Color};
use iced_core::{border::Radius, Background, Color};
/// The appearance of a menu.
#[derive(Debug, Clone, Copy)]
@ -15,7 +15,7 @@ pub struct Appearance {
/// Menu border width
pub border_width: f32,
/// Menu border radius
pub border_radius: BorderRadius,
pub border_radius: Radius,
/// Menu border color
pub border_color: Color,
/// Text color when hovered