From 79ec21346db0f6d1288ae315d18507eb1359081c Mon Sep 17 00:00:00 2001 From: Mario Pietsch Date: Thu, 14 May 2020 15:31:57 +0200 Subject: [PATCH] Fix 4596 - High cpu consume after upgrade to 5.1.22 (#4634) * add a new-line before the log text to increase readability of the test output * make eslint, jslint happy * it shouldn't be there * fremove this file from my PRs * fix high CPU load --- plugins/tiddlywiki/tiddlyweb/styles.tid | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/tiddlywiki/tiddlyweb/styles.tid b/plugins/tiddlywiki/tiddlyweb/styles.tid index 5d59fa379..20796e6c1 100644 --- a/plugins/tiddlywiki/tiddlyweb/styles.tid +++ b/plugins/tiddlywiki/tiddlyweb/styles.tid @@ -10,11 +10,13 @@ body.tc-dirty span.tc-dirty-indicator svg { body .tc-image-cloud-idle { fill: <>; transition: opacity 250ms ease-in-out; - opacity: 1; + opacity: 1; + display: unset; } body.tc-dirty .tc-image-cloud-idle { opacity: 0; + display: none; } body .tc-image-cloud-progress { @@ -23,11 +25,13 @@ body .tc-image-cloud-progress { transform: rotate(359deg); animation: animation-rotate-slow 2s infinite linear; fill: <>; + display: none; opacity: 0; } body.tc-dirty .tc-image-cloud-progress { opacity: 1; + display: unset; } @keyframes animation-rotate-slow {