forked from ZenBrowserMirrors/zen-desktop
fix: Fixed workspace transition animations and icons not appearing on new profiles, b=(no-bug), c=tabs, workspaces
This commit is contained in:
parent
b8213569e5
commit
3c01004641
2 changed files with 4 additions and 1 deletions
|
@ -94,6 +94,9 @@
|
|||
try {
|
||||
setTimeout(async () => {
|
||||
try {
|
||||
const pin = this._pinsCache?.find(
|
||||
(pin) => pin.uuid === tab.getAttribute('zen-pin-id')
|
||||
);
|
||||
let favicon = await PlacesUtils.favicons.getFaviconForPage(
|
||||
Services.io.newURI(pin.url)
|
||||
);
|
||||
|
|
|
@ -2323,7 +2323,7 @@ var gZenWorkspaces = new (class extends ZenMultiWindowFeature {
|
|||
existingTransform = container.style.transform;
|
||||
}
|
||||
if (shouldAnimate) {
|
||||
container.style.transform = newTransform;
|
||||
container.style.transform = existingTransform;
|
||||
animations.push(
|
||||
gZenUIManager.motion.animate(
|
||||
container,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue