Skip to content

Commit dbe3097

Browse files
committed
Make chart mouse hover feel responsive
100 ms causes a 10 fps performance which feels like it's lagging behind your cursor. 30 ms feels to fast and noisy, 50 ms feels snappy yet stable.
1 parent 6306e37 commit dbe3097

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plots/cartesian/constants.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ module.exports = {
6666
HOVERFONT: 'Arial, sans-serif',
6767

6868
// minimum time (msec) between hover calls
69-
HOVERMINTIME: 100,
69+
HOVERMINTIME: 50,
7070

7171
// max pixels off straight before a lasso select line counts as bent
7272
BENDPX: 1.5

0 commit comments

Comments
 (0)