mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-09 17:00:27 +00:00
make editor not redraw
This commit is contained in:
parent
40489a2fba
commit
7a299bc7b8
@ -53,8 +53,9 @@ $:/config/EditorToolbarButtons/Visibility/$(currentTiddler)$
|
|||||||
editPreviewStateTiddler={{{ [{$:/config/ShowEditPreview/PerTiddler}!match[yes]then[$:/state/showeditpreview]] :else[<qualified-preview-state>] }}}
|
editPreviewStateTiddler={{{ [{$:/config/ShowEditPreview/PerTiddler}!match[yes]then[$:/state/showeditpreview]] :else[<qualified-preview-state>] }}}
|
||||||
importTitle=<<qualify $:/ImportImage>>
|
importTitle=<<qualify $:/ImportImage>>
|
||||||
importState=<<qualify $:/state/ImportImage>>
|
importState=<<qualify $:/state/ImportImage>>
|
||||||
identifier={{{ [<qualify>addsuffix[-]addsuffix<currentTiddler>sha256[]] }}}
|
identifier={{{ [<qualify>addsuffix<currentTiddler>sha256[]] }}}
|
||||||
sidebarWidthTiddler={{{ [<identifier>addprefix[$:/state/resizer/previewwidth-]] }}} >
|
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>> >
|
<$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>
|
<div>
|
||||||
|
|
||||||
|
@ -365,6 +365,8 @@ title: $:/core/procedures/sidebar-resizer
|
|||||||
:else[<sidebar-resizer-pointerdown-actions-inner>]
|
:else[<sidebar-resizer-pointerdown-actions-inner>]
|
||||||
\end
|
\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-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)]]
|
\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>>
|
class=<<get.active.class tc-slider-pointerdown-eventcatcher>>
|
||||||
selector=".tc-slider"
|
selector=".tc-slider"
|
||||||
matchSelector=".tc-slider"
|
matchSelector=".tc-slider"
|
||||||
$pointerdown=<<get.sidebar-resizer.pointerdown.actions>>
|
$pointerdown=<<sidebar-resizer-pointerdown-actions-inner>>
|
||||||
$pointerup=<<sidebar-resizer-pointercancel-actions>>>
|
$pointerup=<<sidebar-resizer-pointercancel-actions>>>
|
||||||
|
|
||||||
<%if [<resizer.state>!match[no]] %>
|
<%if [<resizer.state>!match[no]] %>
|
||||||
@ -501,7 +503,7 @@ title: $:/core/procedures/sidebar-resizer
|
|||||||
class=<<get.active.class tc-slider-pointermove-eventcatcher-wrapper>>
|
class=<<get.active.class tc-slider-pointermove-eventcatcher-wrapper>>
|
||||||
selector=".tc-slider"
|
selector=".tc-slider"
|
||||||
matchSelector=".tc-slider"
|
matchSelector=".tc-slider"
|
||||||
$pointerup={{{ [<get.resizer.state>is[tiddler]then<sidebar-resizer-pointercancel-actions>] }}}>
|
$pointerup=<<sidebar-resizer-pointercancel-actions>>>
|
||||||
|
|
||||||
<$eventcatcher
|
<$eventcatcher
|
||||||
tag="div"
|
tag="div"
|
||||||
|
Loading…
Reference in New Issue
Block a user