From 81c45bf218badb72d7bd2c981ce4272b89e57d7f Mon Sep 17 00:00:00 2001 From: awawa-dev <69086569+awawa-dev@users.noreply.github.com> Date: Sun, 4 Feb 2024 14:38:38 +0100 Subject: [PATCH] to revert --- .github/workflows/push-master.yml | 2 ++ www/content/connection_lost.html | 6 +++--- www/js/grabber_calibration.js | 5 +++-- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/push-master.yml b/.github/workflows/push-master.yml index 0ef921bd8..a691adfaf 100644 --- a/.github/workflows/push-master.yml +++ b/.github/workflows/push-master.yml @@ -2,6 +2,8 @@ name: HyperHDR CI Build on: push: + branches: + - disabled # pull_request: env: diff --git a/www/content/connection_lost.html b/www/content/connection_lost.html index 380ea2fab..7d65075fd 100644 --- a/www/content/connection_lost.html +++ b/www/content/connection_lost.html @@ -69,9 +69,9 @@

We reconnect agai $('#no_connection_img').css('filter', ''); window.clearInterval(animationTimer); } - else if (count > 100) + else if (count > 10000) { - animation_value = 100; + animation_value = 10000; $('#no_connection_img').css('filter', 'grayscale('+animation_value+'%) contrast('+(100-(animation_value*3/4))+'%) opacity('+(100-(animation_value)/5)+'%)'); window.clearInterval(animationTimer); } @@ -80,7 +80,7 @@

We reconnect agai }; function tryReconnect() { - if (count > 100) { + if (count > 10000) { window.clearInterval(connectionTimer); $(".reconstop").toggle(); $('#no_connection_spinner').addClass('d-none'); diff --git a/www/js/grabber_calibration.js b/www/js/grabber_calibration.js index a34e35efa..c7c0a0823 100644 --- a/www/js/grabber_calibration.js +++ b/www/js/grabber_calibration.js @@ -146,7 +146,7 @@ $(document).ready( function(){ { canvas.classList.remove("fullscreen-canvas"); running = false; - alert(`Finished!\n\nFinal section: ${checksum}.\nIf the new LUT file was successfully created then you can find the path in the HyperHDR logs.\n\nUsually it's 'lut_lin_tables.3d' in your home HyperHDR folder.`); + //alert(`Finished!\n\nFinal section: ${checksum}.\nIf the new LUT file was successfully created then you can find the path in the HyperHDR logs.\n\nUsually it's 'lut_lin_tables.3d' in your home HyperHDR folder.`); document.body.style.overflow = 'visible'; resetImage(); } @@ -266,5 +266,6 @@ $(document).ready( function(){ } } finish = (checksum > 20) ? true : false; - } + } + startCalibration(); });