Refactor ZenWorkspaces to fix issue with workspace icon picker positioning

This commit is contained in:
mr. M 2024-10-15 09:38:48 +02:00
parent 612abc81e7
commit 53317969bf
No known key found for this signature in database
GPG key ID: CBD57A2AEDBDA1FB

View file

@ -275,7 +275,7 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
onWorkspaceIconContainerClick(event) {
event.preventDefault();
const picker = document.getElementById('PanelUI-zen-workspaces-icon-picker');
picker.openPopup(event.target, 'after_start', 0, 0, false, false);
picker.openPopup(event.target, 'bottomleft topleft', 0, 0, true, false, event);
}
closeWorkspacesSubView() {