diff options
Diffstat (limited to 'src/text/rich.rs')
| -rw-r--r-- | src/text/rich.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text/rich.rs b/src/text/rich.rs index 30a9e81..9f53387 100644 --- a/src/text/rich.rs +++ b/src/text/rich.rs @@ -661,7 +661,7 @@ where } Event::Mouse(mouse::Event::CursorMoved { .. }) | Event::Touch(touch::Event::FingerMoved { .. }) => { - if let Some(position) = cursor.position() + if let Some(position) = cursor.land().position() && let Some(dragging) = state.dragging { let (line, index) = state |
