Fix clippy::default_trait_access

This commit is contained in:
Héctor Ramón Jiménez 2023-09-20 04:51:08 +02:00
parent 6c386e90a1
commit 42ed90bc6f
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
19 changed files with 30 additions and 28 deletions

View file

@ -228,7 +228,9 @@ mod modal {
use iced::alignment::Alignment;
use iced::event;
use iced::mouse;
use iced::{Color, Element, Event, Length, Point, Rectangle, Size};
use iced::{
BorderRadius, Color, Element, Event, Length, Point, Rectangle, Size,
};
/// A widget that centers a modal element over some base element
pub struct Modal<'a, Message, Renderer> {
@ -474,7 +476,7 @@ mod modal {
renderer.fill_quad(
renderer::Quad {
bounds: layout.bounds(),
border_radius: Default::default(),
border_radius: BorderRadius::default(),
border_width: 0.0,
border_color: Color::TRANSPARENT,
},