From a25cb024fe13dbdf3cef588604cd4fcfb4d6d533 Mon Sep 17 00:00:00 2001 From: RossAscends <124905043+RossAscends@users.noreply.github.com> Date: Sat, 23 Sep 2023 11:56:24 +0900 Subject: [PATCH] allow blur/shadow sliders to re-enable. --- public/scripts/power-user.js | 10 ++++++++-- public/style.css | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/public/scripts/power-user.js b/public/scripts/power-user.js index c25929b11..2836135a6 100644 --- a/public/scripts/power-user.js +++ b/public/scripts/power-user.js @@ -408,7 +408,10 @@ function switchUiMode() { if (power_user.fast_ui_mode) { $("#blur-strength-block").css('opacity', '0.2') $("#blur_strength").prop('disabled', true) - } else { $("#blur-strength-block").css('opacity', '1') } + } else { + $("#blur-strength-block").css('opacity', '1') + $("#blur_strength").prop('disabled', false) + } } function toggleWaifu() { @@ -467,7 +470,10 @@ function noShadows() { if (power_user.noShadows) { $("#shadow-width-block").css('opacity', '0.2') $("#shadow_width").prop('disabled', true) - } else { $("#shadow-width-block").css('opacity', '1') } + } else { + $("#shadow-width-block").css('opacity', '1') + $("#shadow_width").prop('disabled', false) + } scrollChatToBottom(); } diff --git a/public/style.css b/public/style.css index b0807d126..4c5f70739 100644 --- a/public/style.css +++ b/public/style.css @@ -2252,7 +2252,7 @@ input[type="range"] { background-size: 70% 100%; background-repeat: no-repeat; box-shadow: inset 0 0 2px black; - cursor: grab; + cursor: ew-resize; } input[type="range"]::-webkit-slider-thumb {