mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-14 22:06:13 +00:00
fix: Fixed compact mode not working at startup and finished workspace creation form, b=no-bug, c=compact-mode, workspaces
This commit is contained in:
@@ -76,14 +76,14 @@
|
||||
}
|
||||
|
||||
openThemePicker(event) {
|
||||
const position = event.explicitOriginalTarget?.classList?.contains(
|
||||
const fromForm = event.explicitOriginalTarget?.classList?.contains(
|
||||
'zen-workspace-creation-edit-theme-button'
|
||||
)
|
||||
? 'end_before'
|
||||
: 'topright topleft';
|
||||
);
|
||||
const position = fromForm ? 'bottomleft bottomright' : 'topright topleft';
|
||||
PanelMultiView.openPopup(this.panel, this.toolbox, {
|
||||
position,
|
||||
triggerEvent: event,
|
||||
y: fromForm ? -160 : 0,
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user