mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-07 18:36:36 +00:00
Fixed toolbar jittering when in compact mode (https://github.com/zen-browser/desktop/issues/3916)
This commit is contained in:
2
l10n
2
l10n
Submodule l10n updated: 019ab69c2b...c0ce532766
@@ -312,6 +312,11 @@ var gZenCompactModeManager = {
|
||||
}
|
||||
}
|
||||
|
||||
// If it's a child element but not the target, ignore the event
|
||||
if (target.contains(event.explicitOriginalTarget) && event.explicitOriginalTarget !== target) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (this.hoverableElements[i].keepHoverDuration) {
|
||||
this.flashElement(target, keepHoverDuration, 'has-hover' + target.id, 'zen-has-hover');
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user