mirror of
https://github.com/dragonwocky/obsidian-tray.git
synced 2025-04-03 11:39:02 +00:00
Compare commits
3 Commits
cc0baa3226
...
f4e827253d
Author | SHA1 | Date | |
---|---|---|---|
f4e827253d | |||
|
62fcf88fe6 | ||
|
09fe3c2d03 |
6
main.js
6
main.js
@ -478,6 +478,12 @@ class TrayPlugin extends obsidian.Plugin {
|
||||
cleanup();
|
||||
}
|
||||
|
||||
getCurrentWindow = getCurrentWindow
|
||||
getWindows = getWindows;
|
||||
showWindows = showWindows;
|
||||
hideWindows = hideWindows;
|
||||
toggleWindows = toggleWindows;
|
||||
|
||||
async loadSettings() {
|
||||
const DEFAULT_SETTINGS = OPTIONS.map((opt) => ({ [opt.key]: opt.default }));
|
||||
this.settings = Object.assign(...DEFAULT_SETTINGS, await this.loadData());
|
||||
|
Loading…
Reference in New Issue
Block a user