1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-01-08 16:30:26 +00:00

make editor not redraw

This commit is contained in:
BurningTreeC 2024-11-15 17:53:53 +01:00
parent 40489a2fba
commit 7a299bc7b8
2 changed files with 7 additions and 4 deletions

View File

@ -53,8 +53,9 @@ $:/config/EditorToolbarButtons/Visibility/$(currentTiddler)$
editPreviewStateTiddler={{{ [{$:/config/ShowEditPreview/PerTiddler}!match[yes]then[$:/state/showeditpreview]] :else[<qualified-preview-state>] }}}
importTitle=<<qualify $:/ImportImage>>
importState=<<qualify $:/state/ImportImage>>
identifier={{{ [<qualify>addsuffix[-]addsuffix<currentTiddler>sha256[]] }}}
sidebarWidthTiddler={{{ [<identifier>addprefix[$:/state/resizer/previewwidth-]] }}} >
identifier={{{ [<qualify>addsuffix<currentTiddler>sha256[]] }}}
sidebarWidthTiddler={{{ [<identifier>addprefix[$:/state/resizer/previewwidth-]] }}}
>
<$dropzone importTitle=<<importTitle>> autoOpenOnImport="no" contentTypesFilter={{$:/config/Editor/ImportContentTypesFilter}} class="tc-dropzone-editor" enable={{{ [{$:/config/DragAndDrop/Enable}match[no]] :else[subfilter{$:/config/Editor/EnableImportFilter}then[yes]else[no]] }}} filesOnly="yes" actions=<<importFileActions>> >
<div>

View File

@ -365,6 +365,8 @@ title: $:/core/procedures/sidebar-resizer
:else[<sidebar-resizer-pointerdown-actions-inner>]
\end
\function get.sidebar-resizer.pointercancel.actions() [<get.resizer.state>is[tiddler]then<sidebar-resizer-pointercancel-actions>]
\function get.template-right.style.left() [<sliderCondition>match[no]then[0px]] :else[[calc(2 * ]addsuffix<get.resizer.style.width>addsuffix[)]]
\function get.template-left.style.flex-basis() [<sliderCondition>match[no]then[100%]] :else[[calc(]addsuffix<get.resizer.style.left>addsuffix[ - ]addsuffix<resizerWidthDivided>addsuffix[px)]]
@ -491,7 +493,7 @@ title: $:/core/procedures/sidebar-resizer
class=<<get.active.class tc-slider-pointerdown-eventcatcher>>
selector=".tc-slider"
matchSelector=".tc-slider"
$pointerdown=<<get.sidebar-resizer.pointerdown.actions>>
$pointerdown=<<sidebar-resizer-pointerdown-actions-inner>>
$pointerup=<<sidebar-resizer-pointercancel-actions>>>
<%if [<resizer.state>!match[no]] %>
@ -501,7 +503,7 @@ title: $:/core/procedures/sidebar-resizer
class=<<get.active.class tc-slider-pointermove-eventcatcher-wrapper>>
selector=".tc-slider"
matchSelector=".tc-slider"
$pointerup={{{ [<get.resizer.state>is[tiddler]then<sidebar-resizer-pointercancel-actions>] }}}>
$pointerup=<<sidebar-resizer-pointercancel-actions>>>
<$eventcatcher
tag="div"