diff --git a/app/assets/css/launcher.css b/app/assets/css/launcher.css index 2fec6a45..b7736de4 100644 --- a/app/assets/css/launcher.css +++ b/app/assets/css/launcher.css @@ -1422,7 +1422,7 @@ input:checked + .toggleSwitchSlider:before { /* Label which displays a memory slider's value. */ .settingsMemoryLabel { font-size: 14px; - margin-right: 3%; + margin-right: 2%; } /* Range sliders for min and max memory settings. */ diff --git a/app/assets/js/scripts/settings.js b/app/assets/js/scripts/settings.js index f2a293ee..bff08bc6 100644 --- a/app/assets/js/scripts/settings.js +++ b/app/assets/js/scripts/settings.js @@ -588,6 +588,12 @@ function updateRangedSlider(element, value, notch){ element.setAttribute('value', value) + if(notch < 0){ + notch = 0 + } else if(notch > 100) { + notch = 100 + } + const event = new MouseEvent('change', { target: element, type: 'change',