From 73bce8d5eecc6a9dd0fe50adf3c65c71ccd02be4 Mon Sep 17 00:00:00 2001 From: Serge Bazanski Date: Thu, 12 Sep 2024 03:22:02 +0200 Subject: [PATCH] succd: scale down canvas to fit narrow screens --- succd/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/succd/index.html b/succd/index.html index 033a5f8..69be5c5 100644 --- a/succd/index.html +++ b/succd/index.html @@ -51,7 +51,7 @@ h2 {

- +

@@ -199,7 +199,7 @@ window.addEventListener("load", (_) => { let ping = document.querySelector("#ping"); canvas = document.querySelector("#graph").getContext("2d"); - // TODO(q3k): unhardcode this and generally support scaling canvas. + // TODO(q3k): unhardcode this. historicalDraw(1024, 512); // Basic retry loop for connecting to WS.