Fix transition issue

This commit is contained in:
Ajay
2022-02-21 01:02:23 -05:00
parent bd3976e4c6
commit 7aaa28b5c2

View File

@@ -453,7 +453,7 @@ class PreviewBar {
// Prevent transition from occuring
if (firstUpdate) {
customChangedElement.style.transition = "none";
setTimeout(() => customChangedElement.style.transition = "inherit", 50);
setTimeout(() => customChangedElement.style.removeProperty("transition"), 50);
}
}