From 60614ccd4971d1b5196ec6ebc9220041bb15ad6d Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Fri, 4 Mar 2016 18:08:45 -0800 Subject: [PATCH] seek the cursor instantly --- renderer/index.css | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/renderer/index.css b/renderer/index.css index 102a8356..91302820 100644 --- a/renderer/index.css +++ b/renderer/index.css @@ -306,13 +306,15 @@ body.drag::before { .player-controls .playback-cursor { position: absolute; top: 2px; - margin-top: 7px; - margin-left: 7px; background-color: #FFF; width: 0; height: 0; border-radius: 0; - transition: all 0.1s ease-out; + margin-top: 7px; + margin-left: 7px; + transition-property: width, height, border-radius, margin-top, margin-left; + transition-duration: 0.1s; + transition-timing-function: ease-out; } .player-controls .play-pause { @@ -330,7 +332,7 @@ body.drag::before { .player .scrub-bar:hover .playback-cursor { width: 14px; height: 14px; + border-radius: 7px; margin-top: 0; margin-left: 0; - border-radius: 7px; }