diff options
| author | 2023-06-09 21:53:54 +0200 | |
|---|---|---|
| committer | 2023-06-09 21:53:54 +0200 | |
| commit | 60cd864d43be877a5eaee4f5ca32f41b9fb70b79 (patch) | |
| tree | 01a7758d3b8a4d2434bba113df85c6cb2c3e2ca2 /widget/src/pane_grid/title_bar.rs | |
| parent | c15f1b5f6575792cc89bb5fba2e613428397e46a (diff) | |
| parent | 27639c4ce6161fa07986c2f1d472a8a259ae2129 (diff) | |
| download | iced-60cd864d43be877a5eaee4f5ca32f41b9fb70b79.tar.gz iced-60cd864d43be877a5eaee4f5ca32f41b9fb70b79.tar.bz2 iced-60cd864d43be877a5eaee4f5ca32f41b9fb70b79.zip  | |
Merge pull request #1904 from iced-rs/cursor-availability
Cursor availability
Diffstat (limited to 'widget/src/pane_grid/title_bar.rs')
| -rw-r--r-- | widget/src/pane_grid/title_bar.rs | 18 | 
1 files changed, 9 insertions, 9 deletions
diff --git a/widget/src/pane_grid/title_bar.rs b/widget/src/pane_grid/title_bar.rs index 2129937b..2fe79f80 100644 --- a/widget/src/pane_grid/title_bar.rs +++ b/widget/src/pane_grid/title_bar.rs @@ -122,7 +122,7 @@ where          theme: &Renderer::Theme,          inherited_style: &renderer::Style,          layout: Layout<'_>, -        cursor_position: Point, +        cursor: mouse::Cursor,          viewport: &Rectangle,          show_controls: bool,      ) { @@ -158,7 +158,7 @@ where                      theme,                      &inherited_style,                      controls_layout, -                    cursor_position, +                    cursor,                      viewport,                  );              } @@ -171,7 +171,7 @@ where                  theme,                  &inherited_style,                  title_layout, -                cursor_position, +                cursor,                  viewport,              );          } @@ -300,7 +300,7 @@ where          tree: &mut Tree,          event: Event,          layout: Layout<'_>, -        cursor_position: Point, +        cursor: mouse::Cursor,          renderer: &Renderer,          clipboard: &mut dyn Clipboard,          shell: &mut Shell<'_, Message>, @@ -324,7 +324,7 @@ where                  &mut tree.children[1],                  event.clone(),                  controls_layout, -                cursor_position, +                cursor,                  renderer,                  clipboard,                  shell, @@ -338,7 +338,7 @@ where                  &mut tree.children[0],                  event,                  title_layout, -                cursor_position, +                cursor,                  renderer,                  clipboard,                  shell, @@ -354,7 +354,7 @@ where          &self,          tree: &Tree,          layout: Layout<'_>, -        cursor_position: Point, +        cursor: mouse::Cursor,          viewport: &Rectangle,          renderer: &Renderer,      ) -> mouse::Interaction { @@ -367,7 +367,7 @@ where          let title_interaction = self.content.as_widget().mouse_interaction(              &tree.children[0],              title_layout, -            cursor_position, +            cursor,              viewport,              renderer,          ); @@ -377,7 +377,7 @@ where              let controls_interaction = controls.as_widget().mouse_interaction(                  &tree.children[1],                  controls_layout, -                cursor_position, +                cursor,                  viewport,                  renderer,              );  | 
