mirror of
https://github.com/zen-browser/desktop.git
synced 2025-12-24 23:28:55 +00:00
feat: Added a pref for hover hacks in compact mode hover detection, b=no-bug, c=compact-mode
This commit is contained in:
@@ -33,7 +33,8 @@ var gZenCompactModeManager = {
|
||||
_evenListeners: [],
|
||||
_removeHoverFrames: {},
|
||||
|
||||
HOVER_HACK_DELAY: 10, // Delay to avoid flickering when hovering over the sidebar
|
||||
// Delay to avoid flickering when hovering over the sidebar
|
||||
HOVER_HACK_DELAY: Services.prefs.getIntPref('zen.view.compact.hover-hack-delay', 0),
|
||||
|
||||
preInit() {
|
||||
// Remove it before initializing so we can properly calculate the width
|
||||
|
||||
Reference in New Issue
Block a user