Hide blur opacity option

This commit is contained in:
the1812 2019-05-22 00:05:25 +08:00
parent 22ce44bae8
commit 502d0b2435
6 changed files with 8 additions and 8 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -3,7 +3,7 @@ if (isIframe())
return;
}
document.body.style.setProperty("--navbar-bounds-padding", `0 ${settings.customNavbarBoundsPadding}%`);
document.body.style.setProperty("--navbar-blur-opacity", settings.customNavbarBlurOpacity);
document.body.style.setProperty("--navbar-blur-opacity", settings.customNavbarBlurOpacity || 0.7);
addSettingsListener("customNavbarBlurOpacity", value =>
{
document.body.style.setProperty("--navbar-blur-opacity", value);

View File

@ -62,7 +62,7 @@
<checkbox indent="1" key="customNavbarShadow" dependencies="customNavbar"></checkbox>
<checkbox indent="1" key="customNavbarCompact" dependencies="customNavbar"></checkbox>
<checkbox indent="1" key="customNavbarBlur" dependencies="customNavbar"></checkbox>
<textbox indent="2" key="customNavbarBlurOpacity" dependencies="customNavbar customNavbarBlur"></textbox>
<!-- <textbox indent="2" key="customNavbarBlurOpacity" dependencies="customNavbar customNavbarBlur"></textbox> -->
<checkbox indent="0" key="useDarkStyle" dependencies=""></checkbox>
<checkbox indent="0" key="darkSchedule" dependencies=""></checkbox>
<textbox indent="1" key="darkScheduleStart" dependencies="darkSchedule"></textbox>