diff --git a/core/wiki/macros/sidebar-resizer.tid b/core/wiki/macros/sidebar-resizer.tid index ff9e20091..30101f855 100644 --- a/core/wiki/macros/sidebar-resizer.tid +++ b/core/wiki/macros/sidebar-resizer.tid @@ -65,23 +65,25 @@ title: $:/core/macros/sidebar-resizer storyRightStart={{{ [convert.to.pixels{$:/state/sidebar/resizing!!start-story-right}] }}} storyWidthStart={{{ [convert.to.pixels{$:/state/sidebar/resizing!!start-story-width}] }}} storyMinWidth={{{ [convert.to.pixels{$:/themes/tiddlywiki/vanilla/metrics/storyminwidth}] }}} + sidebarMinWidth={{{ [convert.to.pixels{$:/themes/tiddlywiki/vanilla/metrics/sidebarminwidth}] }}} + storyLeft={{{ [convert.to.pixels{$:/themes/tiddlywiki/vanilla/metrics/storyleft}] }}} + clampedDiff={{{ [addaddsubtractcompare:number:gt[0]] ~0 }}} + storyWidthStart={{{ [subtract] }}} + storyRightStart={{{ [subtract] }}} storyWidth={{{ [add] }}} innerStoryWidth={{{ [subtract[84]] }}} innerStoryWidthStart={{{ [subtract[84]] }}} - storyLeft={{{ [convert.to.pixels{$:/themes/tiddlywiki/vanilla/metrics/storyleft}] }}} storyMinWidthAddLeft={{{ [add] }}} - sidebarMinWidth={{{ [convert.to.pixels{$:/themes/tiddlywiki/vanilla/metrics/sidebarminwidth}] }}} storyRiverLimit={{{ [subtract] }}} storyMaxWidth={{{ [subtract] }}} - clampedDiff={{{ [addaddsubtractcompare:number:gt[0]] ~0 }}} tiddlerWidthMetric={{$:/state/sidebar/resizing!!tiddler-width-metric}} tiddlerWidthStart={{$:/state/sidebar/resizing!!start-tiddler-width}} tiddlerWidthStartPixels={{{ [match[%]thenmultiplydivide[100]] ~[convert.to.pixels] }}} + tiddlerWidthStartPixels={{{ [subtract] }}} tiddlerWidth={{{ [add] }}} tiddlerWidthDiff={{{ [subtract] }}} tiddlerMinWidth={{{ [match[%]then] ~[subtract] }}} tiddlerMaxWidth={{{ [match[%]then] ~[subtract] }}} - storyWidth={{{ [subtract] }}} storyRiverWidth={{{ [subtract] }}}> <$let