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 | 51 | deleteLastMessage, |
| 52 | 52 | getCharacterCardFields, |
| 53 | 53 | swipe_right, |
| 54 | + swipe_left, | |
| 54 | 55 | } from '../script.js'; |
| 55 | 56 | import { |
| 56 | 57 | extension_settings, |
| @@ -197,7 +198,7 @@ export function getContext() { | ||
| 197 | 198 | humanizedDateTime, |
| 198 | 199 | updateMessageBlock, |
| 199 | 200 | appendMediaToMessage, |
| 200 | - swipe_right, | |
| 201 | + swipe: { left: swipe_left, right: swipe_right }, | |
| 201 | 202 | variables: { |
| 202 | 203 | local: { |
| 203 | 204 | get: getLocalVariable, |