From ca8257d8fe0525ee86c018b270617a0c0538edeb Mon Sep 17 00:00:00 2001 From: Manuel Martin Date: Fri, 17 Apr 2020 18:06:34 +0200 Subject: [PATCH] Fixes glitches when swhitching between regular and private modes (#3187) --- .../common/shared/org/mozilla/vrbrowser/ui/widgets/Windows.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/common/shared/org/mozilla/vrbrowser/ui/widgets/Windows.java b/app/src/common/shared/org/mozilla/vrbrowser/ui/widgets/Windows.java index 4d4419a59..b893dc641 100644 --- a/app/src/common/shared/org/mozilla/vrbrowser/ui/widgets/Windows.java +++ b/app/src/common/shared/org/mozilla/vrbrowser/ui/widgets/Windows.java @@ -747,6 +747,8 @@ private void setWindowVisible(@NonNull WindowWidget aWindow, boolean aVisible) { setFirstPaint(aWindow, aWindow.getSession()); } aWindow.setVisible(aVisible); + aWindow.getTitleBar().setVisible(aVisible); + aWindow.getTopBar().setVisible(aVisible); } private void placeWindow(@NonNull WindowWidget aWindow, WindowPlacement aPosition) {