From b7bec599082ef55e9e30c7c72847910151a1fc37 Mon Sep 17 00:00:00 2001 From: BurningTreeC Date: Sat, 16 Nov 2024 10:49:44 +0100 Subject: [PATCH] fix problem that resizing redraw the editor and preview --- core/wiki/macros/sidebar-resizer.tid | 23 ++++++++------- themes/tiddlywiki/vanilla/base.tid | 4 ++- themes/tiddlywiki/vanilla/sidebar-resizer.tid | 28 +++++++++++++++---- 3 files changed, 37 insertions(+), 18 deletions(-) diff --git a/core/wiki/macros/sidebar-resizer.tid b/core/wiki/macros/sidebar-resizer.tid index 34b8483f7..d250f7905 100644 --- a/core/wiki/macros/sidebar-resizer.tid +++ b/core/wiki/macros/sidebar-resizer.tid @@ -503,7 +503,7 @@ title: $:/core/procedures/sidebar-resizer class=<> selector=".tc-slider" matchSelector=".tc-slider" - $pointerup=<>> + $pointerup={{{ [is[tiddler]then] }}}> <$eventcatcher tag="div" @@ -517,7 +517,6 @@ title: $:/core/procedures/sidebar-resizer $pointerdown=<> $touchstart=<> $pointermove=<> - $touchmove=<> $contextmenu=<>>
>/> @@ -532,18 +531,18 @@ title: $:/core/procedures/sidebar-resizer <% endif %> - <%if [