Skip to content

Commit 3c01004

Browse files
committed
fix: Fixed workspace transition animations and icons not appearing on new profiles, b=(no-bug), c=tabs, workspaces
1 parent b821356 commit 3c01004

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/zen/tabs/ZenPinnedTabManager.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@
9494
try {
9595
setTimeout(async () => {
9696
try {
97+
const pin = this._pinsCache?.find(
98+
(pin) => pin.uuid === tab.getAttribute('zen-pin-id')
99+
);
97100
let favicon = await PlacesUtils.favicons.getFaviconForPage(
98101
Services.io.newURI(pin.url)
99102
);

src/zen/workspaces/ZenWorkspaces.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2323,7 +2323,7 @@ var gZenWorkspaces = new (class extends ZenMultiWindowFeature {
23232323
existingTransform = container.style.transform;
23242324
}
23252325
if (shouldAnimate) {
2326-
container.style.transform = newTransform;
2326+
container.style.transform = existingTransform;
23272327
animations.push(
23282328
gZenUIManager.motion.animate(
23292329
container,

0 commit comments

Comments
 (0)