Skip to content

Commit

Permalink
Common fixes and optimizations
Browse files Browse the repository at this point in the history
  • Loading branch information
mauro-balades committed Feb 25, 2025
1 parent b39961e commit ca183c7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/windows-release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -312,4 +312,3 @@ jobs:
retention-days: 5
name: windows_update_manifest_${{ matrix.arch == 'aarch64' && 'arm64' || matrix.arch }}
path: ./dist/update

2 changes: 1 addition & 1 deletion configs/common/mozconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion src/browser/base/zen-components/ZenCompactMode.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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') &&
Expand Down
3 changes: 2 additions & 1 deletion src/browser/base/zen-components/ZenWorkspaces.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit ca183c7

Please sign in to comment.