Add "Always on top" setting which makes Heynote stay on top of other programs

This commit is contained in:
Jonatan Heyman
2024-01-26 14:14:12 +01:00
parent a7e0f53c35
commit 2f22951e9f
3 changed files with 47 additions and 4 deletions

View File

@ -33,6 +33,7 @@ const schema = {
"bufferPath" : {type: "string", default: ""},
"showInDock": {type: "boolean", default: true},
"showInMenu": {type: "boolean", default: false},
"alwaysOnTop": {type: "boolean", default: false},
"bracketClosing": {type: "boolean", default: false},
// when default font settings are used, fontFamily and fontSize is not specified in the
@ -67,6 +68,7 @@ const defaults = {
bufferPath: "",
showInDock: true,
showInMenu: false,
alwaysOnTop: false,
bracketClosing: false,
},
theme: "system",