Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
BurningTreeC committed Sep 15, 2024
1 parent e17e0f8 commit ef5f6a3
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
title: $:/config/tiddlyflex/story-river/tiddler/controls-breakpoint-sidebar
caption: Menu Breakpoint when Sidebar is shown
description: The Menu Breakpoint in columns for when the Sidebar is shown
description: The Menu Breakpoint in columns (when the Sidebar is shown)
settings-template: $:/plugins/BTC/TiddlyFlex/ui/ControlPanel/Templates/input

3
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
title: $:/config/tiddlyflex/story-river/tiddler/controls-breakpoint
caption: Menu Breakpoint
description: The Menu Breakpoint in columns for when the Sidebar is hidden
description: The Menu Breakpoint in columns (when the Sidebar is hidden)
settings-template: $:/plugins/BTC/TiddlyFlex/ui/ControlPanel/Templates/input

4
5 changes: 5 additions & 0 deletions TiddlyFlex/config/story-river/tiddler/show-controls-hover.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
title: $:/config/tiddlyflex/story-river/tiddler/show-controls-hover
caption: Show Controls on Hover
description: Whether or not the tiddler controls should be only shown on hover
settings-template: $:/plugins/BTC/TiddlyFlex/ui/ControlPanel/Templates/input-switch
text: no
13 changes: 13 additions & 0 deletions TiddlyFlex/css/misc.tid
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,17 @@ tags: $:/tags/Stylesheet
bottom: 0;
}

<%if [{$:/config/tiddlyflex/story-river/tiddler/show-controls-hover}match[yes]] %>

.tc-tiddler-frame .tc-tiddler-controls {
display: none;
padding: 0;
}

.tc-tiddler-frame:hover .tc-tiddler-controls {
display: block;
}

<% endif %>

<% endif %>
2 changes: 2 additions & 0 deletions TiddlyFlex/global/layout/ensemble.tid
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Do you want to overwrite it?
<$macrocall $name="tiddlyflex-set-ensemble-configuration" tiddler=<<ensembleTiddler>> field="current-column" value={{$:/columns!!current-column}}/>
<$macrocall $name="tiddlyflex-set-ensemble-configuration" tiddler=<<ensembleTiddler>> field="follow-current-column" value={{{ [{$:/config/tiddlyflex/story-river/follow-current-column}match[no]] ~yes }}}/>
<$macrocall $name="tiddlyflex-set-ensemble-configuration" tiddler=<<ensembleTiddler>> field="show-edit-preview-per-tiddler" value={{$:/config/ShowEditPreview/PerTiddler}}/>
<$macrocall $name="tiddlyflex-set-ensemble-configuration" tiddler=<<ensembleTiddler>> field="show-controls-hover" value={{$:/config/tiddlyflex/story-river/tiddler/show-controls-hover}}/>
<$macrocall $name="tiddlyflex-set-ensemble-configuration" tiddler=<<ensembleTiddler>> field="story-river-padding" value={{{ [[$:/config/tiddlyflex/story-river/padding]get[text]] ~[[]] }}}/>
<$macrocall $name="tiddlyflex-set-ensemble-configuration" tiddler=<<ensembleTiddler>> field="tiddler-margin-bottom" value={{{ [[$:/config/tiddlyflex/story-river/tiddler/margin-bottom]get[text]] ~[[]] }}}/>
<$macrocall $name="tiddlyflex-set-ensemble-configuration" tiddler=<<ensembleTiddler>> field="palette" value={{$:/palette}}/>
Expand Down Expand Up @@ -106,6 +107,7 @@ Do you want to overwrite it?
<$macrocall $name="tiddlyflex-set-ensemble-configuration" tiddler="$:/columns" field="list" value={{{ [<ensembleTiddler>get[columns]] }}}/>
<$macrocall $name="tiddlyflex-set-ensemble-configuration" tiddler="$:/columns" field="current-column" value={{{ [<ensembleTiddler>get[current-column]] }}}/>
<$macrocall $name="tiddlyflex-set-ensemble-configuration" tiddler="$:/config/ShowEditPreview/PerTiddler" value={{{ [<ensembleTiddler>get[show-edit-preview-per-tiddler]] }}}/>
<$macrocall $name="tiddlyflex-set-ensemble-configuration" tiddler="$:/config/tiddlyflex/story-river/tiddler/show-controls-hover" value={{{ [<ensembleTiddler>get[show-controls-hover]] }}}/>
<$macrocall $name="tiddlyflex-set-ensemble-configuration" tiddler="$:/config/tiddlyflex/story-river/padding" value={{{ [<ensembleTiddler>get[story-river-padding]] }}}/>
<$macrocall $name="tiddlyflex-set-ensemble-configuration" tiddler="$:/config/tiddlyflex/story-river/tiddler/margin-bottom" value={{{ [<ensembleTiddler>get[tiddler-margin-bottom]] }}}/>
<$macrocall $name="tiddlyflex-set-ensemble-configuration" tiddler="$:/config/tiddlyflex/story-river/follow-current-column" value={{{ [<ensembleTiddler>get[follow-current-column]] }}}/>
Expand Down
2 changes: 1 addition & 1 deletion TiddlyFlex/plugin.info
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "TiddlyFlex",
"plugin-type": "plugin",
"author": "Simon Huber",
"version": "0.1.3",
"version": "0.1.4",
"core-version": ">=5.3.3",
"source": "https://github.com/BurningTreeC/TiddlyFlex",
"list": "readme license"
Expand Down

0 comments on commit ef5f6a3

Please sign in to comment.