mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-10 17:30:26 +00:00
fix edgecase in centralised theme fix
This commit is contained in:
parent
22a40993ad
commit
fbf299be41
@ -140,7 +140,8 @@ title: $:/core/macros/sidebar-resizer
|
|||||||
storyMaxWidth={{{ [<widgetNodeWidth>subtract<sidebarMinWidth>subtract<sidebarMinWidth>] }}}
|
storyMaxWidth={{{ [<widgetNodeWidth>subtract<sidebarMinWidth>subtract<sidebarMinWidth>] }}}
|
||||||
dragDiffMultiplied={{{ [<dragDiff>multiply[2]] }}}
|
dragDiffMultiplied={{{ [<dragDiff>multiply[2]] }}}
|
||||||
storyWidthClamped={{{ [<storyWidthStart>add<sidebarMinWidth>add<sidebarMinWidth>subtract<widgetNodeWidth>] }}}
|
storyWidthClamped={{{ [<storyWidthStart>add<sidebarMinWidth>add<sidebarMinWidth>subtract<widgetNodeWidth>] }}}
|
||||||
storyWidth={{{ [<storyWidthStart>add<dragDiffMultiplied>subtract<storyWidthClamped>] }}}>
|
storyWidth={{{ [<storyWidthStart>add<dragDiffMultiplied>] }}}
|
||||||
|
storyWidth={{{ [<storyWidthClamped>compare:number:gt[0]then<storyWidth>subtract<storyWidthClamped>] ~[<storyWidth>] }}}
|
||||||
|
|
||||||
<$let
|
<$let
|
||||||
storyWidthMetric={{$:/state/sidebar/resizing!!centralised-story-width-metric}}
|
storyWidthMetric={{$:/state/sidebar/resizing!!centralised-story-width-metric}}
|
||||||
|
Loading…
Reference in New Issue
Block a user