From 551ffc85f27dd79dc9f55f0869bfad01528dd8f1 Mon Sep 17 00:00:00 2001 From: Stephen Anthony Uy Date: Tue, 8 Oct 2024 17:03:31 -0700 Subject: [PATCH] Volume slider now reflects volume level --- js/Singularity/singularity.js | 4 ++-- js/infinity.js | 4 ++-- js/layers.js | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/js/Singularity/singularity.js b/js/Singularity/singularity.js index ab63414..b35a5c3 100644 --- a/js/Singularity/singularity.js +++ b/js/Singularity/singularity.js @@ -95,7 +95,7 @@ addLayer("s", { ["raw-html", function () { return ""}, { "color": "white", "font-size": "18px", "font-family": "monospace" }], ]], ["blank", "25px"], - ["raw-html", function () { return "

"}, { "color": "white", "font-size": "18px", "font-family": "monospace" }], + ["raw-html", function () { return "

"}, { "color": "white", "font-size": "18px", "font-family": "monospace" }], ["blank", "25px"], ["raw-html", function () { return "Volume: " + options.musicVolume}, { "color": "white", "font-size": "18px", "font-family": "monospace" }], ["raw-html", function () { return "Autosave: " + options.autosave}, { "color": "white", "font-size": "18px", "font-family": "monospace" }], @@ -121,4 +121,4 @@ addLayer("s", { ["microtabs", "stuff", { 'border-width': '0px' }], ], layerShown() { return player.startedGame == true && player.ca.defeatedCante} -}) \ No newline at end of file +}) diff --git a/js/infinity.js b/js/infinity.js index 6ce2ec6..d40be61 100644 --- a/js/infinity.js +++ b/js/infinity.js @@ -431,7 +431,7 @@ addLayer("in", { ["raw-html", function () { return ""}, { "color": "white", "font-size": "18px", "font-family": "monospace" }], ]], ["blank", "25px"], - ["raw-html", function () { return "

"}, { "color": "white", "font-size": "18px", "font-family": "monospace" }], + ["raw-html", function () { return "

"}, { "color": "white", "font-size": "18px", "font-family": "monospace" }], ["blank", "25px"], ["raw-html", function () { return "Volume: " + options.musicVolume}, { "color": "white", "font-size": "18px", "font-family": "monospace" }], ["raw-html", function () { return "Autosave: " + options.autosave}, { "color": "white", "font-size": "18px", "font-family": "monospace" }], @@ -596,4 +596,4 @@ addLayer("bigc", { window.addEventListener('load', function() { player.bigc.spawnedWisps = false -}); \ No newline at end of file +}); diff --git a/js/layers.js b/js/layers.js index 52beb46..2f512bc 100644 --- a/js/layers.js +++ b/js/layers.js @@ -498,7 +498,7 @@ addLayer("i", { ["raw-html", function () { return ""}, { "color": "white", "font-size": "18px", "font-family": "monospace" }], ]], ["blank", "25px"], - ["raw-html", function () { return "

"}, { "color": "white", "font-size": "18px", "font-family": "monospace" }], + ["raw-html", function () { return "

"}, { "color": "white", "font-size": "18px", "font-family": "monospace" }], ["blank", "25px"], ["raw-html", function () { return "Volume: " + options.musicVolume}, { "color": "white", "font-size": "18px", "font-family": "monospace" }], ["raw-html", function () { return "Autosave: " + options.autosave}, { "color": "white", "font-size": "18px", "font-family": "monospace" }], @@ -601,4 +601,4 @@ document.addEventListener('keydown', function(event) { if(event.keyCode == 87 && (hasUpgrade("cp", 18) || player.universe != 1.5) && hasUpgrade("ad", 13) && options.toggleHotkey) { player.tab = "in" } -}); \ No newline at end of file +});