Add selection
This commit is contained in:
parent
165ea1c0da
commit
190b41f387
3 changed files with 154 additions and 68 deletions
|
|
@ -203,7 +203,7 @@ fn main() {
|
|||
mouse_x = event.x;
|
||||
mouse_y = event.y;
|
||||
if mouse_left {
|
||||
buffer.action(TextAction::Click {
|
||||
buffer.action(TextAction::Drag {
|
||||
x: mouse_x - line_x,
|
||||
y: mouse_y
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue