mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-30 12:27:29 +09:00
[Pale-Moon] Issue #1730 - Add 1.25x play speed to the html player context menu
This commit is contained in:
parent
9532e6f02e
commit
9f19a67fcb
3 changed files with 10 additions and 0 deletions
|
|
@ -393,6 +393,7 @@ nsContextMenu.prototype = {
|
|||
if (onMedia) {
|
||||
this.setItemAttr("context-media-playbackrate-050x", "checked", this.target.playbackRate == 0.5);
|
||||
this.setItemAttr("context-media-playbackrate-100x", "checked", this.target.playbackRate == 1.0);
|
||||
this.setItemAttr("context-media-playbackrate-125x", "checked", this.target.playbackRate == 1.25);
|
||||
this.setItemAttr("context-media-playbackrate-150x", "checked", this.target.playbackRate == 1.5);
|
||||
this.setItemAttr("context-media-playbackrate-200x", "checked", this.target.playbackRate == 2.0);
|
||||
this.setItemAttr("context-media-loop", "checked", this.target.loop);
|
||||
|
|
@ -405,6 +406,7 @@ nsContextMenu.prototype = {
|
|||
this.setItemAttr("context-media-playbackrate", "disabled", hasError);
|
||||
this.setItemAttr("context-media-playbackrate-050x", "disabled", hasError);
|
||||
this.setItemAttr("context-media-playbackrate-100x", "disabled", hasError);
|
||||
this.setItemAttr("context-media-playbackrate-125x", "disabled", hasError);
|
||||
this.setItemAttr("context-media-playbackrate-150x", "disabled", hasError);
|
||||
this.setItemAttr("context-media-playbackrate-200x", "disabled", hasError);
|
||||
this.setItemAttr("context-media-showcontrols", "disabled", hasError);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue