1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-01-10 09:20:26 +00:00

fix edgecase in centralised theme fix

This commit is contained in:
BurningTreeC 2024-10-08 20:19:37 +02:00
parent 22a40993ad
commit fbf299be41

View File

@ -140,7 +140,8 @@ title: $:/core/macros/sidebar-resizer
storyMaxWidth={{{ [<widgetNodeWidth>subtract<sidebarMinWidth>subtract<sidebarMinWidth>] }}}
dragDiffMultiplied={{{ [<dragDiff>multiply[2]] }}}
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
storyWidthMetric={{$:/state/sidebar/resizing!!centralised-story-width-metric}}