From e17e0f8b6ab7d2ba60105cb2674d5ab7c37f4701 Mon Sep 17 00:00:00 2001 From: BurningTreeC Date: Sat, 14 Sep 2024 14:14:49 +0200 Subject: [PATCH] Ensemble improvements --- TiddlyFlex/global/layout/ensemble.tid | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/TiddlyFlex/global/layout/ensemble.tid b/TiddlyFlex/global/layout/ensemble.tid index db0a5e2..7cc3ee1 100644 --- a/TiddlyFlex/global/layout/ensemble.tid +++ b/TiddlyFlex/global/layout/ensemble.tid @@ -33,14 +33,14 @@ Do you want to overwrite it? <$macrocall $name="tiddlyflex-set-ensemble-configuration" tiddler=<> field={{{ [[story-list-]addsuffix] }}} value={{{ [[$:/StoryList-]addsuffixget[list]] ~[[]] }}}/> <$list filter="[all[shadows+tiddlers]tag[$:/tags/TopToolbar]!is[draft]]" variable="topToolbarTiddler"> - <%if [!contains:top-toolbar-tiddler] %> + <$action-listops $tiddler=<> $field="top-toolbar-tiddler" $subfilter="[]"/> - <% endif %> + <$list filter="[all[shadows+tiddlers]tag[$:/tags/BottomToolbar]!is[draft]]" variable="bottomToolbarTiddler"> - <%if [!contains:bottom-toolbar-tiddler] %> + <$action-listops $tiddler=<> $field="bottom-toolbar-tiddler" $subfilter="[]"/> - <% endif %> + <$list filter="[tags[]prefix[$:/tags/AboveStoryHeader-]]" variable="aboveStoryHeaderTag"> <$set name="index" value={{{ [removeprefix[$:/tags/AboveStoryHeader-]] }}}> @@ -102,7 +102,7 @@ Do you want to overwrite it? <$macrocall $name="tiddlyflex-set-ensemble-configuration" tiddler="$:/layout" value={{{ [get[layout]] }}}/> <$macrocall $name="tiddlyflex-set-ensemble-configuration" tiddler="$:/view" value={{{ [get[view]] }}}/> - <$macrocall $name="tiddlyflex-set-ensemble-configuration" tiddler="$:/state/sidebar" value={{{ [get[sidebar-state]] }}}/> + <$macrocall $name="tiddlyflex-set-ensemble-configuration" tiddler="$:/state/sidebar" value={{{ [get[sidebar-state]] ~yes }}}/> <$macrocall $name="tiddlyflex-set-ensemble-configuration" tiddler="$:/columns" field="list" value={{{ [get[columns]] }}}/> <$macrocall $name="tiddlyflex-set-ensemble-configuration" tiddler="$:/columns" field="current-column" value={{{ [get[current-column]] }}}/> <$macrocall $name="tiddlyflex-set-ensemble-configuration" tiddler="$:/config/ShowEditPreview/PerTiddler" value={{{ [get[show-edit-preview-per-tiddler]] }}}/>