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:
Cameron Fischer 2026-02-10 06:30:08 -05:00 committed by GitHub
parent 64ee20edd2
commit 70689a6de4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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