don't change controller visibility on keyboard input

- We do want to set it to visible in case it's hidden
- We don't want to set it to 'hidden' because then hover commands can't
  bring it back to visible state (e.g. YouTube player)

Fixes https://github.com/igrigorik/videospeed/issues/91.
This commit is contained in:
Ilya Grigorik
2016-03-27 11:04:15 -07:00
parent e220234c4c
commit e2f7dbf0f1

View File

@@ -242,9 +242,6 @@ chrome.extension.sendMessage({}, function(response) {
iterations: 1, iterations: 1,
delay: 0 delay: 0
}); });
controllerAnimation.onfinish = function(e) {
controller.style.visibility = 'hidden';
}
} }
}); });
} }