From f6f4c0b4d7478f504b0c08fe92f867702c9852ca Mon Sep 17 00:00:00 2001 From: Johnathon Gaines Date: Sat, 11 May 2024 20:47:10 +0000 Subject: [PATCH] Removed autoUpdateRenderer in favor of opening/closing panes --- .../_templates/hexcasting_render.js.jinja | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/doc/src/hexdoc_hexcasting/_templates/hexcasting_render.js.jinja b/doc/src/hexdoc_hexcasting/_templates/hexcasting_render.js.jinja index 170213a56..f034eb085 100644 --- a/doc/src/hexdoc_hexcasting/_templates/hexcasting_render.js.jinja +++ b/doc/src/hexdoc_hexcasting/_templates/hexcasting_render.js.jinja @@ -376,7 +376,6 @@ function checkEqual(ob1, ob2) { return true; } -let autoUpdateInterval = null; let cachedPatternImage = null; let old_settings = null; @@ -407,19 +406,6 @@ function updateRenders() { } } -function autoUpdateRenderer(interval = 500) { - if (autoUpdateInterval != null) { - clearInterval(autoUpdateInterval); - } - if (interval <= 0) { - console.log(`Invalid interval for autoUpdateRenderer: ${interval}`); - return; - } - - autoUpdateInterval = setInterval(updateRenders, interval); -} - -window.autoUpdateRenderer = autoUpdateRenderer; //palette values stored via css so they can be changedaround let palette_options = {