Common fixes and optimizations

This commit is contained in:
mr. m
2025-02-25 12:30:33 +01:00
parent b39961e43e
commit ca183c7de6
4 changed files with 5 additions and 4 deletions

View File

@@ -312,4 +312,3 @@ jobs:
retention-days: 5
name: windows_update_manifest_${{ matrix.arch == 'aarch64' && 'arm64' || matrix.arch }}
path: ./dist/update

View File

@@ -34,7 +34,7 @@ fi
if test "$ZEN_RELEASE"; then
ac_add_options --enable-clang-plugin
ac_add_options --enable-bootstrap
ac_add_options --enable-bootstrap=-sccache
ac_add_options --enable-release
ac_add_options --disable-debug

View File

@@ -153,7 +153,8 @@ var gZenCompactModeManager = {
animateCompactMode() {
this._animating = true;
const isCompactMode = this.preference;
const canHideSidebar = Services.prefs.getBoolPref('zen.view.compact.hide-tabbar');
const canHideSidebar =
Services.prefs.getBoolPref('zen.view.compact.hide-tabbar') || gZenVerticalTabsManager._hasSetSingleToolbar;
const canAnimate =
lazyCompactMode.COMPACT_MODE_CAN_ANIMATE_SIDEBAR &&
!this.sidebar.hasAttribute('zen-user-show') &&

View File

@@ -1999,7 +1999,8 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
const contaienr = document.querySelector(
`#vertical-pinned-tabs-container .zen-workspace-tabs-section[zen-workspace-id="${workspaceId}"]`
);
contaienr.insertBefore(tab, contaienr.firstChild);
console.log(tab);
contaienr.insertBefore(tab, contaienr.lastChild);
changed = true;
}
if (changed) {