Ensure redraw is queued when first drag event is received

This commit is contained in:
Jeremy Soller 2022-10-19 10:21:29 -06:00
parent 66f9fea001
commit 334a45a5f4
No known key found for this signature in database
GPG key ID: 87F211AF2BE4C2FE

View file

@ -411,6 +411,7 @@ impl<'a> TextBuffer<'a> {
TextAction::Drag { x, y } => {
if self.select_opt.is_none() {
self.select_opt = Some(self.cursor);
self.redraw = true;
}
self.click(x, y);
},