mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-05 09:26:34 +00:00
Merge pull request #4158 from flexagoon/patch-1
fix: don't flash compact sidebar when opening glance
This commit is contained in:
@@ -94,7 +94,8 @@ index f7c39fe804182e2bdf53045ba3b6a5ba17079fc3..8b594d9d13b60c51c6f9306e28178e75
|
|||||||
- }
|
- }
|
||||||
+ this.arrowScrollbox.ensureElementIsVisible(selectedTab, aInstant);
|
+ this.arrowScrollbox.ensureElementIsVisible(selectedTab, aInstant);
|
||||||
|
|
||||||
+ if (!aInstant && Services.prefs.getBoolPref('zen.view.compact')
|
+ if (!aInstant && !gZenGlanceManager.animatingOpen
|
||||||
|
+ && Services.prefs.getBoolPref('zen.view.compact')
|
||||||
+ && Services.prefs.getBoolPref('zen.view.compact.toolbar-flash-popup')) {
|
+ && Services.prefs.getBoolPref('zen.view.compact.toolbar-flash-popup')) {
|
||||||
+ gZenCompactModeManager.flashSidebar();
|
+ gZenCompactModeManager.flashSidebar();
|
||||||
+ }
|
+ }
|
||||||
|
Reference in New Issue
Block a user