Ensure redraw is queued when first drag event is received
This commit is contained in:
parent
66f9fea001
commit
334a45a5f4
1 changed files with 1 additions and 0 deletions
|
|
@ -411,6 +411,7 @@ impl<'a> TextBuffer<'a> {
|
||||||
TextAction::Drag { x, y } => {
|
TextAction::Drag { x, y } => {
|
||||||
if self.select_opt.is_none() {
|
if self.select_opt.is_none() {
|
||||||
self.select_opt = Some(self.cursor);
|
self.select_opt = Some(self.cursor);
|
||||||
|
self.redraw = true;
|
||||||
}
|
}
|
||||||
self.click(x, y);
|
self.click(x, y);
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue