summaryrefslogtreecommitdiffstats
path: root/native/src/widget.rs
diff options
context:
space:
mode:
Diffstat (limited to 'native/src/widget.rs')
-rw-r--r--native/src/widget.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/native/src/widget.rs b/native/src/widget.rs
index 01c5bed3..9a494771 100644
--- a/native/src/widget.rs
+++ b/native/src/widget.rs
@@ -81,6 +81,7 @@ pub use tooltip::Tooltip;
use crate::event::{self, Event};
use crate::layout;
use crate::overlay;
+use crate::renderer;
use crate::{Clipboard, Hasher, Layout, Length, Point, Rectangle};
/// A component that displays information and allows interaction.
@@ -131,7 +132,7 @@ where
fn draw(
&self,
renderer: &mut Renderer,
- defaults: &Renderer::Defaults,
+ style: &renderer::Style,
layout: Layout<'_>,
cursor_position: Point,
viewport: &Rectangle,