[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor-browser] 74/311: Bug 1753401 - Change PiP toggle's visibility threshold back to 1.0. r=mhowell a=RyanVM



This is an automated email from the git hooks/post-receive script.

pierov pushed a commit to branch geckoview-99.0.1-11.0-1
in repository tor-browser.

commit 151ed28a0b6960a491ea437a691018f59b38682a
Author: Micah Tigley <mtigley@xxxxxxxxxxx>
AuthorDate: Wed Feb 9 00:21:14 2022 +0000

    Bug 1753401 - Change PiP toggle's visibility threshold back to 1.0. r=mhowell a=RyanVM
    
    Differential Revision: https://phabricator.services.mozilla.com/D138218
---
 browser/app/profile/firefox.js           | 2 +-
 toolkit/actors/PictureInPictureChild.jsm | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js
index 6bbc26eb86e6d..2345ca82cca9d 100644
--- a/browser/app/profile/firefox.js
+++ b/browser/app/profile/firefox.js
@@ -1735,7 +1735,7 @@ pref("media.autoplay.default", 1); // 0=Allowed, 1=Blocked, 5=All Blocked
 
 pref("media.videocontrols.picture-in-picture.enabled", true);
 pref("media.videocontrols.picture-in-picture.video-toggle.enabled", true);
-pref("media.videocontrols.picture-in-picture.video-toggle.visibility-threshold", "0.9");
+pref("media.videocontrols.picture-in-picture.video-toggle.visibility-threshold", "1.0");
 pref("media.videocontrols.picture-in-picture.keyboard-controls.enabled", true);
 
 #ifdef NIGHTLY_BUILD
diff --git a/toolkit/actors/PictureInPictureChild.jsm b/toolkit/actors/PictureInPictureChild.jsm
index e4f7da4022a61..8a154f96fad7e 100644
--- a/toolkit/actors/PictureInPictureChild.jsm
+++ b/toolkit/actors/PictureInPictureChild.jsm
@@ -243,7 +243,7 @@ class PictureInPictureToggleChild extends JSWindowActorChild {
 
     let visibilityThresholdPref = Services.prefs.getFloatPref(
       TOGGLE_VISIBILITY_THRESHOLD_PREF,
-      "0.9"
+      "1.0"
     );
 
     if (!state) {
@@ -884,7 +884,7 @@ class PictureInPictureToggleChild extends JSWindowActorChild {
 
       let visibilityThresholdPref = Services.prefs.getFloatPref(
         TOGGLE_VISIBILITY_THRESHOLD_PREF,
-        "0.9"
+        "1.0"
       );
 
       // Do we have any toggle overrides? If so, try to apply them.

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits