From 9f89a21cfb939ecc4b4b3731712a0dcb8e8b371a Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Wed, 13 Oct 2021 13:59:55 +0200 Subject: [PATCH] remove psk31 character animation since it's killing the client --- htdocs/css/openwebrx.css | 27 --------------------------- htdocs/openwebrx.js | 5 +---- 2 files changed, 1 insertion(+), 31 deletions(-) diff --git a/htdocs/css/openwebrx.css b/htdocs/css/openwebrx.css index cb1e954..be84038 100644 --- a/htdocs/css/openwebrx.css +++ b/htdocs/css/openwebrx.css @@ -917,33 +917,6 @@ img.openwebrx-mirror-img z-index: 10; } - -#openwebrx-digimode-content .part -{ - perspective: 700px; -} - -#openwebrx-digimode-content .part -{ - animation: new-digimode-data-3d 100ms; - animation-timing-function: linear; - display: inline-block; - perspective-origin: 50% 50%; - transform-origin: 0% 50%; -} - -@keyframes new-digimode-data -{ - 0%{ opacity: 0; } - 100%{ opacity: 1; } -} - -@keyframes new-digimode-data-3d -{ - 0%{ transform: rotateX(0deg) rotateY(-90deg) translateX(-5px) scale(1.3); } - 100%{ transform: rotateX(0deg) rotateY(0deg) translateX(0) scale(1); } -} - #openwebrx-digimode-select-channel { transition: all 500ms; diff --git a/htdocs/openwebrx.js b/htdocs/openwebrx.js index f0e3668..97ccc82 100644 --- a/htdocs/openwebrx.js +++ b/htdocs/openwebrx.js @@ -1458,11 +1458,8 @@ function secondary_demod_push_data(x) { if (y === "<") return "<"; if (y === ">") return ">"; if (y === " ") return " "; + if (y === "\n") return "
"; return y; - }).map(function (y) { - if (y === "\n") - return "
"; - return "" + y + ""; }).join(""); $("#openwebrx-cursor-blink").before(x); }