diff options
author | 2023-06-08 20:35:40 +0200 | |
---|---|---|
committer | 2023-06-08 20:35:40 +0200 | |
commit | aba98e49654852281ed17bedd1becac6f9db8700 (patch) | |
tree | 661d5d42cfa968e43bb0751836de3d68cb95c59c /winit/src/application.rs | |
parent | 57db196c3a169fe1ecd654e9b58ce66defa5dd7e (diff) | |
download | iced-aba98e49654852281ed17bedd1becac6f9db8700.tar.gz iced-aba98e49654852281ed17bedd1becac6f9db8700.tar.bz2 iced-aba98e49654852281ed17bedd1becac6f9db8700.zip |
Extend cursor availability to the shell level
Diffstat (limited to '')
-rw-r--r-- | winit/src/application.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/winit/src/application.rs b/winit/src/application.rs index 4147be17..be416ac8 100644 --- a/winit/src/application.rs +++ b/winit/src/application.rs @@ -356,7 +356,7 @@ async fn run_instance<A, E, C>( let (interface_state, statuses) = user_interface.update( &events, - state.cursor_position(), + state.cursor(), &mut renderer, &mut clipboard, &mut messages, @@ -422,7 +422,7 @@ async fn run_instance<A, E, C>( let (interface_state, _) = user_interface.update( &[redraw_event.clone()], - state.cursor_position(), + state.cursor(), &mut renderer, &mut clipboard, &mut messages, @@ -435,7 +435,7 @@ async fn run_instance<A, E, C>( &renderer::Style { text_color: state.text_color(), }, - state.cursor_position(), + state.cursor(), ); debug.draw_finished(); @@ -508,7 +508,7 @@ async fn run_instance<A, E, C>( &renderer::Style { text_color: state.text_color(), }, - state.cursor_position(), + state.cursor(), ); if new_mouse_interaction != mouse_interaction { |