Add the startSidebarExpanded setting (closes #2)

This commit is contained in:
Eldritch-Oliver 2025-11-22 15:46:30 -07:00
parent d856f7b1c8
commit 529aa72bdf
10 changed files with 71 additions and 5 deletions

View file

@ -0,0 +1,9 @@
import { startSidebarExpanded } from "../settings/startSidebarExpanded.mjs";
Hooks.once(`renderSidebar`, (app, _element, _context, _options) => {
// MARK: Sidebar Expansion
if (startSidebarExpanded.value()) {
app.toggleExpanded(true);
}
});