feat: Set the style directly instead of using motion, b=no-bug, c=folders

This commit is contained in:
Mr. M
2025-08-28 01:27:22 +02:00
parent 1f72765227
commit 429f74a7c7

View File

@@ -632,16 +632,8 @@
const adjustedHeight = isSplitView
? heightUntilSelected - 2
: heightUntilSelected;
animations.push(
gZenUIManager.motion.animate(
activeGroupStart,
{
marginTop: -(adjustedHeight + 4 * (selectedTabs.length === 0 ? 1 : 0)),
},
{ duration: 0, ease: 'linear' }
)
);
activeGroupStart.style.marginTop =
-(adjustedHeight + 4 * (selectedTabs.length === 0 ? 1 : 0)) + 'px';
}
this.setFolderIndentation([tab], activeGroup, /* for collapse = */ true);
} else {