File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -1265,6 +1265,10 @@ shaka.ui.Controls = class extends shaka.util.FakeEventTarget {
1265
1265
this . onMouseLeave_ ( ) ;
1266
1266
} ) ;
1267
1267
1268
+ this . eventManager_ . listen ( this . videoContainer_ , 'wheel' , ( e ) => {
1269
+ this . onMouseMove_ ( e ) ;
1270
+ } , { passive : true } ) ;
1271
+
1268
1272
this . eventManager_ . listen ( this . castProxy_ , 'caststatuschanged' , ( ) => {
1269
1273
this . onCastStatusChange_ ( ) ;
1270
1274
} ) ;
@@ -1580,6 +1584,7 @@ shaka.ui.Controls = class extends shaka.util.FakeEventTarget {
1580
1584
// Only start a timeout on 'touchend' or for 'mousemove' with no touch
1581
1585
// events.
1582
1586
if ( event . type == 'touchend' ||
1587
+ event . type == 'wheel' ||
1583
1588
event . type == 'keyup' || ! this . lastTouchEventTime_ ) {
1584
1589
this . mouseStillTimer_ . tickAfter ( /* seconds= */ 3 ) ;
1585
1590
}
You can’t perform that action at this time.
0 commit comments