diff --git a/core/ui/PageTemplate/sidebar-resizer.tid b/core/ui/PageTemplate/sidebar-resizer.tid index 6034826b4..79c99078e 100644 --- a/core/ui/PageTemplate/sidebar-resizer.tid +++ b/core/ui/PageTemplate/sidebar-resizer.tid @@ -7,24 +7,47 @@ list-after: $:/core/ui/PageTemplate/story <%if [{$:/themes/tiddlywiki/vanilla/options/sidebarresizer}match[show]] %> -<$eventcatcher tag="div" class="tc-sidebar-resizer-pointerdown-eventcatcher" selector=".tc-sidebar-resizer" matchSelector=".tc-sidebar-resizer" $pointerdown=<> $pointerup=<>> + <$eventcatcher + tag="div" + class="tc-sidebar-resizer-pointerdown-eventcatcher" + selector=".tc-sidebar-resizer" + matchSelector=".tc-sidebar-resizer" + $pointerdown=<> + $pointerup=<>> -<%if [{$:/state/sidebar}!match[no]] %> + <%if [{$:/state/sidebar}!match[no]] %> -<$eventcatcher tag="div" class="tc-sidebar-resizer-pointermove-eventcatcher-wrapper" selector=".tc-sidebar-resizer" matchSelector=".tc-sidebar-resizer" $pointerup={{{ [[$:/state/sidebar/resizing]!is[missing]then] }}}> + <$eventcatcher + tag="div" + class="tc-sidebar-resizer-pointermove-eventcatcher-wrapper" + selector=".tc-sidebar-resizer" + matchSelector=".tc-sidebar-resizer" + $pointerup={{{ [[$:/state/sidebar/resizing]!is[missing]then] }}}> -<$eventcatcher tag="div" selector=".tc-sidebar-resizer-pointermove" matchSelector=".tc-sidebar-resizer-pointermove" class="tc-sidebar-resizer-pointermove-eventcatcher" $pointerup=<> $pointerleave=<> $pointerout=<> $pointercancel=<> $pointerdown=<> $touchstart=<> $pointermove=<> $contextmenu=<>> + <$eventcatcher + tag="div" + selector=".tc-sidebar-resizer-pointermove" + matchSelector=".tc-sidebar-resizer-pointermove" + class="tc-sidebar-resizer-pointermove-eventcatcher" + $pointerup=<> + $pointerleave=<> + $pointerout=<> + $pointercancel=<> + $pointerdown=<> + $touchstart=<> + $pointermove=<> + $contextmenu=<>> -
+
- + -
+
- - -<% endif %> - - + + + <% endif %> + + <% endif %>