From 8c224793b0844d0463566bb0a0a2e17078e6cb1a Mon Sep 17 00:00:00 2001 From: piair Date: Wed, 28 Feb 2024 15:04:19 +0100 Subject: [PATCH] resize terminal on animation end --- Flask/templates/vnc_post.html | 3 +++ version | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Flask/templates/vnc_post.html b/Flask/templates/vnc_post.html index 5bd64e7..75dbaae 100644 --- a/Flask/templates/vnc_post.html +++ b/Flask/templates/vnc_post.html @@ -28,6 +28,9 @@ term.loadAddon(fitAddon); term.open(document.getElementById('console')); fitAddon.fit() + addEventListener("transitionend", (event) => { + fitAddon.fit() + }); document.getElementById("console").style.textAlign = "left" const eventSource = new EventSource('/stream'); diff --git a/version b/version index 7cf30a4..cf46c04 100644 --- a/version +++ b/version @@ -1 +1 @@ -v6.8.37 +v6.8.38