feat: Added a pref for hover hacks in compact mode hover detection, b=no-bug, c=compact-mode

This commit is contained in:
mr. m
2025-07-30 22:33:29 +02:00
parent 36fe38c145
commit c8d26461e6

View File

@@ -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