[tbb-commits] [tor-browser] 302/311: Bug 1762358 - Fixed PiP icon not visible on G branch of experiment. r=pip-reviewers, mhowell a=dmeehan

gitolite role git at cupani.torproject.org
Tue Apr 26 15:31:42 UTC 2022


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 ccc3308bb89fffe375471502fd32b6a0971e6603
Author: Niklas Baumgardner <nbaumgardner at mozilla.com>
AuthorDate: Fri Apr 1 13:54:22 2022 +0000

    Bug 1762358 - Fixed PiP icon not visible on G branch of experiment. r=pip-reviewers,mhowell a=dmeehan
    
    Differential Revision: https://phabricator.services.mozilla.com/D142577
---
 toolkit/actors/PictureInPictureChild.jsm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/toolkit/actors/PictureInPictureChild.jsm b/toolkit/actors/PictureInPictureChild.jsm
index 88caf1dd35fcf..80dc6fd2f378d 100644
--- a/toolkit/actors/PictureInPictureChild.jsm
+++ b/toolkit/actors/PictureInPictureChild.jsm
@@ -963,7 +963,10 @@ class PictureInPictureToggleChild extends JSWindowActorChild {
       // We only want to show the PiP icon in this experiment scenario
       let pipExpanded = shadowRoot.querySelector(".pip-expanded");
       pipExpanded.style.display = "none";
-      let pipIcon = shadowRoot.querySelector(".pip-icon");
+      let pipSmall = shadowRoot.querySelector(".pip-small");
+      pipSmall.style.opacity = "1";
+
+      let pipIcon = shadowRoot.querySelectorAll(".pip-icon")[1];
       pipIcon.style.display = "block";
     }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tbb-commits mailing list