Merge pull request #206 from gaearon/leading

Ignore leading edge of find-by-DOM throttle
This commit is contained in:
Brian Vaughn
2019-04-20 14:22:49 -07:00
committed by GitHub
+4 -1
View File
@@ -525,6 +525,9 @@ export default class Agent extends EventEmitter {
this._bridge.send('selectFiber', id);
}
}),
200
200,
// Don't change the selection in the very first 200ms
// because those are usually unintentional as you lift the cursor.
{ leading: false }
);
}