summaryrefslogtreecommitdiffstats
path: root/graphics/src
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2022-01-13 15:42:40 +0700
committerLibravatar GitHub <noreply@github.com>2022-01-13 15:42:40 +0700
commit15a13a76b4b0534d08afc0328b90267048e41b9d (patch)
treedd5fa045c9fd3f8f116f230c3e70dcba2d32d011 /graphics/src
parent1a31aefab401712e44cd613fc1337ab90579d926 (diff)
parentf6c436aec1acb674078bf7e878b9e49f28e947a7 (diff)
downloadiced-15a13a76b4b0534d08afc0328b90267048e41b9d.tar.gz
iced-15a13a76b4b0534d08afc0328b90267048e41b9d.tar.bz2
iced-15a13a76b4b0534d08afc0328b90267048e41b9d.zip
Merge pull request #1193 from iced-rs/responsive-widget
`Responsive` widget
Diffstat (limited to 'graphics/src')
-rw-r--r--graphics/src/widget/canvas.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/graphics/src/widget/canvas.rs b/graphics/src/widget/canvas.rs
index 97846d65..f9722f33 100644
--- a/graphics/src/widget/canvas.rs
+++ b/graphics/src/widget/canvas.rs
@@ -193,6 +193,7 @@ where
layout: Layout<'_>,
cursor_position: Point,
_viewport: &Rectangle,
+ _renderer: &Renderer<B>,
) -> mouse::Interaction {
let bounds = layout.bounds();
let cursor = Cursor::from_window_position(cursor_position);