|
@@ -6877,22 +6877,44 @@ window.Modernizr = function(n, e, t) {
|
|
|
, f = $("#thumb-container").eq(0)
|
|
|
, y = f.children()
|
|
|
, I = p.children();
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
t.on("update.controls", function() {
|
|
|
var n = t.describe();
|
|
|
- n.tourIsPlaying || i.isWarping() ? (je.tourControls.visible && (l.hide(),
|
|
|
- c.show()),
|
|
|
- n.tourInProgress && (h.forEach(function(e) {
|
|
|
- e.classList.add("playing")
|
|
|
- }),
|
|
|
- u.addClass("playing"),
|
|
|
- d.addClass("playing"))) : (je.tourControls.visible && (l.show(),
|
|
|
- c.hide()),
|
|
|
- n.tourInProgress || (ve.stopTour(),
|
|
|
- h.forEach(function(e) {
|
|
|
- e.classList.remove("playing")
|
|
|
- }),
|
|
|
- u.removeClass("playing"),
|
|
|
- d.removeClass("playing")));
|
|
|
+ if(n.tourIsPlaying || i.isWarping()){
|
|
|
+
|
|
|
+ if(je.tourControls.visible){
|
|
|
+ l.hide() //play button
|
|
|
+ c.show() //pause button
|
|
|
+ console.log('隐藏play')
|
|
|
+ }
|
|
|
+
|
|
|
+ if(n.tourInProgress){
|
|
|
+ h.forEach(function(e) {
|
|
|
+ e.classList.add("playing")
|
|
|
+ }),
|
|
|
+ u.addClass("playing"),
|
|
|
+ d.addClass("playing")
|
|
|
+ }
|
|
|
+
|
|
|
+ }else{
|
|
|
+ if(je.tourControls.visible){
|
|
|
+ l.show(),
|
|
|
+ c.hide()
|
|
|
+ console.log('隐藏pause')
|
|
|
+ }
|
|
|
+
|
|
|
+ if(!n.tourInProgress){
|
|
|
+ ve.stopTour(),
|
|
|
+ h.forEach(function(e) {
|
|
|
+ e.classList.remove("playing")
|
|
|
+ }),
|
|
|
+ u.removeClass("playing"),
|
|
|
+ d.removeClass("playing")
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
var r, a, s;
|
|
|
if (null !== n.currentItem) {
|
|
|
var p, f;
|
|
@@ -6919,6 +6941,9 @@ window.Modernizr = function(n, e, t) {
|
|
|
a.removeClass("active recent");
|
|
|
o(t, i)
|
|
|
}),
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
document.addEventListener("keydown", function(n) {
|
|
|
switch (J.updateInteraction(Se.InteractionKey),
|
|
|
n.which) {
|