1
0
Fork 1
mirror of https://github.com/zen-browser/desktop.git synced 2025-07-10 09:05:30 +02:00

Fixed toolbar jittering when in compact mode (https://github.com/zen-browser/desktop/issues/3916)

This commit is contained in:
mr. M 2024-12-27 20:00:18 +01:00
parent 255f8f8fbd
commit 78b32002d7
No known key found for this signature in database
GPG key ID: CBD57A2AEDBDA1FB
2 changed files with 6 additions and 1 deletions

View file

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