new version

This commit is contained in:
2026-04-11 13:45:44 +02:00
parent 97b087bb5e
commit 477a80045f
8 changed files with 18 additions and 13 deletions
+5 -1
View File
@@ -932,7 +932,11 @@ function updateDatasetValIfChanged($element, dataLabel, newVal) {
const updateDataElements = throttle(function(parsedData) {
updateTextIfChanged($dataFrequency, parsedData.freq);
$commandInput.attr("aria-label", "Current frequency: " + parsedData.freq);
updateHtmlIfChanged($dataPi, parsedData.pi === '?' ? "<span class='opacity-half'>?</span>" : parsedData.pi);
const questionCount = (parsedData.pi.match(/\?/g) || []).length;
const opacity = 1 - (questionCount * 0.2);
updateHtmlIfChanged($dataPi,`<span style="opacity:${opacity}">${parsedData.pi}</span>`);
if ($('#ps-underscores').is(':checked')) {
parsedData.ps = parsedData.ps.replace(/\s/g, '_');
+1 -1
View File
@@ -119,7 +119,7 @@ function setTheme(themeName) {
function setBg() {
const disableBackgroundParameter = getQueryParameter('disableBackground');
if(localStorage.getItem('bgImage').length > 5 && localStorage.getItem('theme') != 'theme9' && disableBackgroundParameter != 'true') {
$('body').css('background', 'url(' + localStorage.getItem('bgImage') + ') top center / cover fixed no-repeat var(--color-main)');
$('body').css('background', 'url(' + localStorage.getItem('bgImage') + ') center center / cover fixed no-repeat var(--color-main)');
} else $('body').css('background', 'var(--color-main)');
}
+2 -2
View File
@@ -1,2 +1,2 @@
const versionDate = new Date('Apr 3, 2026 22:30:00');
const currentVersion = `v1.4.0a [${versionDate.getDate()}/${versionDate.getMonth() + 1}/${versionDate.getFullYear()}]`;
const versionDate = new Date('Apr 11, 2026 13:30:00');
const currentVersion = `v1.4.0b [${versionDate.getDate()}/${versionDate.getMonth() + 1}/${versionDate.getFullYear()}]`;