mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-03-09 00:10:25 -07:00
keyboard-driven-input couldn't use slots well (#9649)
Now it can, at least now without strange and arbitary tweaks to the $depth attribute.
This commit is contained in:
parent
64ee20edd2
commit
70689a6de4
1 changed files with 5 additions and 5 deletions
|
|
@ -122,15 +122,15 @@ tags: $:/tags/Macro
|
|||
\whitespace trim
|
||||
\procedure keyboard-driven-input-actions()
|
||||
<%if [<event-key-descriptor>match[((input-accept))]] %>
|
||||
<<inputAcceptActions>>
|
||||
<$transclude $variable=inputAcceptActions $fillignore=yes />
|
||||
<%elseif [<event-key-descriptor>match[((input-accept-variant))]] %>
|
||||
<<inputAcceptVariantActions>>
|
||||
<$transclude $variable=inputAcceptVariantActions $fillignore=yes />
|
||||
<%elseif [<event-key-descriptor>match[((input-up))]] %>
|
||||
<<input-next-actions-before>>
|
||||
<$transclude $variable=input-next-actions-before $fillignore=yes />
|
||||
<%elseif [<event-key-descriptor>match[((input-down))]] %>
|
||||
<<input-next-actions-after>>
|
||||
<$transclude $variable=input-next-actions-after $fillignore=yes />
|
||||
<%elseif [<event-key-descriptor>match[((input-cancel))]] %>
|
||||
<<inputCancelActions>>
|
||||
<$transclude $variable=inputCancelActions $fillignore=yes />
|
||||
<%endif%>
|
||||
\end keyboard-driven-input-actions
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue