1
0
Fork 1
mirror of https://github.com/zen-browser/desktop.git synced 2025-07-10 12:35:28 +02:00

Fixed expand on hover sidebar

This commit is contained in:
mr. M 2024-11-10 17:30:27 +01:00
parent c5a7879c55
commit f923078445
No known key found for this signature in database
GPG key ID: CBD57A2AEDBDA1FB
2 changed files with 16 additions and 3 deletions

View file

@ -335,11 +335,13 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
initIndicatorContextMenu() {
const indicator = document.getElementById('zen-current-workspace-indicator');
indicator.addEventListener('contextmenu', (event) => {
const th = (event) => {
event.preventDefault();
event.stopPropagation();
this.openWorkspacesDialog(event);
});
};
indicator.addEventListener('contextmenu', th);
indicator.addEventListener('click', th);
}
handleTabBeforeClose(tab) {