mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-10 09:20:26 +00:00
fix edgecase in centralised theme
This commit is contained in:
parent
910cffb4e2
commit
a69d3242d5
@ -139,7 +139,8 @@ title: $:/core/macros/sidebar-resizer
|
||||
sidebarMinWidth={{{ [convert.to.pixels{$:/themes/tiddlywiki/centralised/metrics/sidebarminwidth}] }}}
|
||||
storyMaxWidth={{{ [<widgetNodeWidth>subtract<sidebarMinWidth>subtract<sidebarMinWidth>] }}}
|
||||
dragDiffMultiplied={{{ [<dragDiff>multiply[2]] }}}
|
||||
storyWidth={{{ [<storyWidthStart>add<dragDiffMultiplied>] }}}>
|
||||
storyWidthClamped={{{ [<storyWidthStart>add<sidebarMinWidth>add<sidebarMinWidth>subtract<widgetNodeWidth>] }}}
|
||||
storyWidth={{{ [<storyWidthStart>add<dragDiffMultiplied>subtract<storyWidthClamped>] }}}>
|
||||
|
||||
<$let
|
||||
storyWidthMetric={{$:/state/sidebar/resizing!!centralised-story-width-metric}}
|
||||
|
Loading…
Reference in New Issue
Block a user