allow blur/shadow sliders to re-enable.

This commit is contained in:
RossAscends 2023-09-23 11:56:24 +09:00
parent 2e5bbf0445
commit a25cb024fe
2 changed files with 9 additions and 3 deletions

View File

@ -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();
}

View File

@ -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 {