diff options
Diffstat (limited to 'src/text.rs')
| -rw-r--r-- | src/text.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/text.rs b/src/text.rs index ff5d5a4..e106919 100644 --- a/src/text.rs +++ b/src/text.rs @@ -636,8 +636,8 @@ where let bounds = layout.bounds(); let (rows, mut start, mut end) = state.selection_end_points(); - start = start + core::Vector::new(bounds.x, bounds.y); - end = end + core::Vector::new(bounds.x, bounds.y); + start += core::Vector::new(bounds.x, bounds.y); + end += core::Vector::new(bounds.x, bounds.y); let line_height = self .format |
