added swipe left and right to st-context Added swipe_right and swipe_left to st-context as a swipe group.
Signed| @@ -51,6 +51,7 @@ import { | |||
| 51 | deleteLastMessage, | 51 | deleteLastMessage, |
| 52 | getCharacterCardFields, | 52 | getCharacterCardFields, |
| 53 | swipe_right, | 53 | swipe_right, |
| 54 | swipe_left, | ||
| 54 | } from '../script.js'; | 55 | } from '../script.js'; |
| 55 | import { | 56 | import { |
| 56 | extension_settings, | 57 | extension_settings, |
| @@ -197,7 +198,7 @@ export function getContext() { | |||
| 197 | humanizedDateTime, | 198 | humanizedDateTime, |
| 198 | updateMessageBlock, | 199 | updateMessageBlock, |
| 199 | appendMediaToMessage, | 200 | appendMediaToMessage, |
| 200 | swipe_right, | 201 | swipe: { left: swipe_left, right: swipe_right }, |
| 201 | variables: { | 202 | variables: { |
| 202 | local: { | 203 | local: { |
| 203 | get: getLocalVariable, | 204 | get: getLocalVariable, |