mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-10 09:20:26 +00:00
add fallbacks
This commit is contained in:
parent
667e173d02
commit
ca32bed448
@ -191,17 +191,23 @@ title: $:/core/macros/sidebar-resizer
|
|||||||
<<set-storyleft-actions-pixel>>
|
<<set-storyleft-actions-pixel>>
|
||||||
<%elseif [is.percentage.value{$:/themes/tiddlywiki/vanilla/metrics/storyleft}] %>
|
<%elseif [is.percentage.value{$:/themes/tiddlywiki/vanilla/metrics/storyleft}] %>
|
||||||
<<set-storyleft-actions-percentage>>
|
<<set-storyleft-actions-percentage>>
|
||||||
|
<% else %>
|
||||||
|
<<set-storyleft-actions-pixel>>
|
||||||
<% endif %>
|
<% endif %>
|
||||||
<%if [is.pixel.value{$:/themes/tiddlywiki/vanilla/metrics/storyright}] %>
|
<%if [is.pixel.value{$:/themes/tiddlywiki/vanilla/metrics/storyright}] %>
|
||||||
<<set-storyright-actions-pixel>>
|
<<set-storyright-actions-pixel>>
|
||||||
<%elseif [is.percentage.value{$:/themes/tiddlywiki/vanilla/metrics/storyright}] %>
|
<%elseif [is.percentage.value{$:/themes/tiddlywiki/vanilla/metrics/storyright}] %>
|
||||||
<<set-storyright-actions-percentage>>
|
<<set-storyright-actions-percentage>>
|
||||||
|
<% else %>
|
||||||
|
<<set-storyright-actions-pixel>>
|
||||||
<% endif %>
|
<% endif %>
|
||||||
<% else %>
|
<% else %>
|
||||||
<%if [is.pixel.value{$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth}] %>
|
<%if [is.pixel.value{$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth}] %>
|
||||||
<<set-sidebarwidth-actions-pixel>>
|
<<set-sidebarwidth-actions-pixel>>
|
||||||
<%elseif [is.percentage.value{$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth}] %>
|
<%elseif [is.percentage.value{$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth}] %>
|
||||||
<<set-sidebarwidth-actions-percentage>>
|
<<set-sidebarwidth-actions-percentage>>
|
||||||
|
<% else %>
|
||||||
|
<<set-sidebarwidth-actions-pixel>>
|
||||||
<% endif %>
|
<% endif %>
|
||||||
<% endif %>
|
<% endif %>
|
||||||
</$let>
|
</$let>
|
||||||
|
Loading…
Reference in New Issue
Block a user