From 4d560195cc0dc4ea660e8e9461937bc91046610e Mon Sep 17 00:00:00 2001 From: lukas Date: Fri, 17 Jan 2025 03:52:45 +0100 Subject: [PATCH] fix canvas aspect ratio --- observe_nema.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/observe_nema.html b/observe_nema.html index 5e6deb6..2a08fe2 100644 --- a/observe_nema.html +++ b/observe_nema.html @@ -451,8 +451,8 @@ canvas.style.aspectRatio = video_aspect; canvas_draw.style.aspectRatio = video_aspect; - canvas_draw.width = canvas_draw.width*5; canvas_draw.height = canvas_draw.height*5; + canvas_draw.width = canvas_draw.height*video_aspect; streaming = true; }