diff --git a/main.js b/main.js index 67fe847..ca18ef5 100644 --- a/main.js +++ b/main.js @@ -14,7 +14,8 @@ var defaultsettings = enablefolding: false, tagautocomplete: false, titleinaccentcolor: false, - enablenetwork: false + enablenetwork: false, + titlebydefault: false }; //builtin @@ -1112,6 +1113,11 @@ function loadsettings() { commands = commands.filter(c => !c.hint.toLowerCase().includes("fold")); } + + if (settings.titlebydefault) + { + toggletitle(); + } } function checksaved() diff --git a/style.css b/style.css index 0e4a6c6..aa0d16a 100644 --- a/style.css +++ b/style.css @@ -70,9 +70,11 @@ body::-webkit-scrollbar-thumb { #title { width: 100%; - padding-top: 10px; font-size: 20px; background-color: inherit; + height: 100%; + font-weight: bold; + } /* search file dialog */