Skip to content

Commit

Permalink
Fix doc for EventCtx::set_cursor
Browse files Browse the repository at this point in the history
  • Loading branch information
teddemunnik authored and cmyr committed Apr 10, 2020
1 parent 43d05e4 commit bb2d147
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion druid/src/contexts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ impl<'a> EventCtx<'a> {
/// event handler, but can also be called in response to other events,
/// for example pressing a key to change the behavior of a widget.
///
/// [`MouseMove`]: enum.Event.html#variant.MouseDown
/// [`MouseMove`]: enum.Event.html#variant.MouseMove
pub fn set_cursor(&mut self, cursor: &Cursor) {
*self.cursor = Some(cursor.clone());
}
Expand Down

0 comments on commit bb2d147

Please sign in to comment.