improve mouse record and replay (#49)

Increase the throttle value of collecting mouse move and add a
transition time to the replayer's mouse. This may decrease the
size of mouse move data and make the replay movement more smooth.
Another change is to move and hover when click event is replayed.
This is to improve the replay of some programmatic click, such as
E2E tests.
This commit is contained in:
yz-yu
2019-01-25 18:25:35 +08:00
committed by GitHub
parent 6abf4fd4a0
commit 22330207eb
3 changed files with 14 additions and 8 deletions

View File

@@ -5,6 +5,7 @@
position: absolute;
width: 20px;
height: 20px;
transition: 0.05s linear;
background-size: contain;
background-position: center center;
background-repeat: no-repeat;