From 9af14441d727a9cf77d21242b657688c6be9ea2d Mon Sep 17 00:00:00 2001 From: Matt Perry Date: Tue, 11 Jan 2022 12:07:57 +0100 Subject: [PATCH] Fixing tests --- src/render/html/utils/build-styles.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/render/html/utils/build-styles.ts b/src/render/html/utils/build-styles.ts index 71f45100f9..7b0f270633 100644 --- a/src/render/html/utils/build-styles.ts +++ b/src/render/html/utils/build-styles.ts @@ -79,7 +79,7 @@ export function buildHTMLStyles( ) } else if (transformTemplate) { style.transform = transformTemplate({}, "") - } else if (style.transform) { + } else if (!latestValues.transform && style.transform) { style.transform = "none" }