added: option to show title by default

changed: title style
This commit is contained in:
quenousimporte 2023-03-03 09:58:56 +01:00
parent 3298cded32
commit fdd5a8e41b
2 changed files with 10 additions and 2 deletions

View File

@ -14,7 +14,8 @@ var defaultsettings =
enablefolding: false, enablefolding: false,
tagautocomplete: false, tagautocomplete: false,
titleinaccentcolor: false, titleinaccentcolor: false,
enablenetwork: false enablenetwork: false,
titlebydefault: false
}; };
//builtin //builtin
@ -1112,6 +1113,11 @@ function loadsettings()
{ {
commands = commands.filter(c => !c.hint.toLowerCase().includes("fold")); commands = commands.filter(c => !c.hint.toLowerCase().includes("fold"));
} }
if (settings.titlebydefault)
{
toggletitle();
}
} }
function checksaved() function checksaved()

View File

@ -70,9 +70,11 @@ body::-webkit-scrollbar-thumb {
#title { #title {
width: 100%; width: 100%;
padding-top: 10px;
font-size: 20px; font-size: 20px;
background-color: inherit; background-color: inherit;
height: 100%;
font-weight: bold;
} }
/* search file dialog */ /* search file dialog */