mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-10 09:20:26 +00:00
use is tiddler
This commit is contained in:
parent
a53f839ba7
commit
ce832d8419
@ -258,7 +258,7 @@ title: $:/core/procedures/sidebar-resizer
|
||||
\end
|
||||
|
||||
\procedure sidebar-resizer-pointermove-actions()
|
||||
<%if [<get.resizer.state>!is[missing]] %>
|
||||
<%if [<get.resizer.state>is[tiddler]] %>
|
||||
<$let
|
||||
startPosX={{{ [<get.resizer.state>get[start-posx]] }}}
|
||||
widgetNodeWidth={{{ [<get.resizer.state>get[widget-node-width]] }}}
|
||||
@ -287,9 +287,9 @@ title: $:/core/procedures/sidebar-resizer
|
||||
<% endif %>
|
||||
\end
|
||||
|
||||
\function get.resizer.class() tc-sidebar-resizer [<get.resizer.state>!is[missing]then[tc-resizer-active]] [<resizer.class>] [<qualify>addsuffix[-]addsuffix<currentTiddler>sha256[]addprefix[tc-sidebar-resizer-]] +[join[ ]]
|
||||
\function get.resizer.class() tc-sidebar-resizer [<get.resizer.state>is[tiddler]then[tc-resizer-active]] [<resizer.class>] [<qualify>addsuffix[-]addsuffix<currentTiddler>sha256[]addprefix[tc-sidebar-resizer-]] +[join[ ]]
|
||||
|
||||
\function get.active.class(class) [<class>] [<resizer.class>] [<eventCatcherClass>] [<get.resizer.state>!is[missing]then[tc-resizer-active]] +[join[ ]]
|
||||
\function get.active.class(class) [<class>] [<resizer.class>] [<eventCatcherClass>] [<get.resizer.state>is[tiddler]then[tc-resizer-active]] +[join[ ]]
|
||||
|
||||
\function get.sidebar-resizer.pointerdown.actions()
|
||||
[<get.resizer.state>match[$:/state/sidebar/resizing]then<sidebar-resizer-pointerdown-actions>]
|
||||
@ -320,7 +320,7 @@ title: $:/core/procedures/sidebar-resizer
|
||||
class=<<get.active.class tc-sidebar-resizer-pointermove-eventcatcher-wrapper>>
|
||||
selector=".tc-sidebar-resizer"
|
||||
matchSelector=".tc-sidebar-resizer"
|
||||
$pointerup={{{ [<get.resizer.state>!is[missing]then<sidebar-resizer-pointercancel-actions>] }}}>
|
||||
$pointerup={{{ [<get.resizer.state>is[tiddler]then<sidebar-resizer-pointercancel-actions>] }}}>
|
||||
|
||||
<$eventcatcher
|
||||
tag="div"
|
||||
@ -429,7 +429,7 @@ title: $:/core/procedures/sidebar-resizer
|
||||
class=<<get.active.class tc-sidebar-resizer-pointermove-eventcatcher-wrapper>>
|
||||
selector=".tc-sidebar-resizer"
|
||||
matchSelector=".tc-sidebar-resizer"
|
||||
$pointerup={{{ [<get.resizer.state>!is[missing]then<sidebar-resizer-pointercancel-actions>] }}}>
|
||||
$pointerup={{{ [<get.resizer.state>is[tiddler]then<sidebar-resizer-pointercancel-actions>] }}}>
|
||||
|
||||
<$eventcatcher
|
||||
tag="div"
|
||||
|
@ -94,7 +94,7 @@ code-body: yes
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
<%if [[$:/state/sidebar/resizing]!is[missing]] %>
|
||||
<%if [[$:/state/sidebar/resizing]is[tiddler]] %>
|
||||
|
||||
@media (pointer: coarse) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user