File tree 2 files changed +10
-2
lines changed
2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -1301,7 +1301,7 @@ shaka.ui.Controls = class extends shaka.util.FakeEventTarget {
1301
1301
}
1302
1302
1303
1303
// Use the cursor specified in the CSS file.
1304
- this . videoContainer_ . style . cursor = '' ;
1304
+ this . videoContainer_ . classList . remove ( 'no- cursor' ) ;
1305
1305
1306
1306
this . recentMouseMovement_ = true ;
1307
1307
@@ -1354,7 +1354,7 @@ shaka.ui.Controls = class extends shaka.util.FakeEventTarget {
1354
1354
*/
1355
1355
onMouseStill_ ( ) {
1356
1356
// Hide the cursor.
1357
- this . videoContainer_ . style . cursor = 'none' ;
1357
+ this . videoContainer_ . classList . add ( 'no- cursor' ) ;
1358
1358
this . recentMouseMovement_ = false ;
1359
1359
this . computeOpacity ( ) ;
1360
1360
}
Original file line number Diff line number Diff line change 394
394
/* keep the rewind button to the left */
395
395
.absolute-position ();
396
396
}
397
+
398
+ .shaka-video-container.no-cursor {
399
+ cursor : none !important ;
400
+
401
+ * {
402
+ cursor : none !important ;
403
+ }
404
+ }
You can’t perform that action at this time.
0 commit comments