getContext: export showSwipeButtons/hideSwipeButtons
| @@ -53,6 +53,8 @@ import { | ||
| 53 | 53 | swipe_right, |
| 54 | 54 | swipe_left, |
| 55 | 55 | generateRaw, |
| 56 | + showSwipeButtons, | |
| 57 | + hideSwipeButtons, | |
| 56 | 58 | } from '../script.js'; |
| 57 | 59 | import { |
| 58 | 60 | extension_settings, |
| @@ -203,7 +205,12 @@ export function getContext() { | ||
| 203 | 205 | humanizedDateTime, |
| 204 | 206 | updateMessageBlock, |
| 205 | 207 | appendMediaToMessage, |
| 206 | - swipe: { left: swipe_left, right: swipe_right }, | |
| 208 | + swipe: { | |
| 209 | + left: swipe_left, | |
| 210 | + right: swipe_right, | |
| 211 | + show: showSwipeButtons, | |
| 212 | + hide: hideSwipeButtons, | |
| 213 | + }, | |
| 207 | 214 | variables: { |
| 208 | 215 | local: { |
| 209 | 216 | get: getLocalVariable, |