Remove unnecessary call to monotonic()

Assuming the call to `update_drag()` returns basically instantly, this call to `monotonic()` can be safely removed.
This commit is contained in:
Luflosi
2019-07-24 23:11:01 -05:00
parent 2a666620c8
commit 546dd9b225

View File

@@ -295,7 +295,7 @@ HANDLER(handle_move_event) {
double now = monotonic();
if ((now - w->last_drag_scroll_at) >= 0.02 || mouse_cell_changed) {
update_drag(false, w, false, 0);
w->last_drag_scroll_at = monotonic();
w->last_drag_scroll_at = now;
}
}
} else {