getContext: export showSwipeButtons/hideSwipeButtons
| @@ -53,6 +53,8 @@ import { | |||
| 53 | swipe_right, | 53 | swipe_right, |
| 54 | swipe_left, | 54 | swipe_left, |
| 55 | generateRaw, | 55 | generateRaw, |
| 56 | showSwipeButtons, | ||
| 57 | hideSwipeButtons, | ||
| 56 | } from '../script.js'; | 58 | } from '../script.js'; |
| 57 | import { | 59 | import { |
| 58 | extension_settings, | 60 | extension_settings, |
| @@ -203,7 +205,12 @@ export function getContext() { | |||
| 203 | humanizedDateTime, | 205 | humanizedDateTime, |
| 204 | updateMessageBlock, | 206 | updateMessageBlock, |
| 205 | appendMediaToMessage, | 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 | variables: { | 214 | variables: { |
| 208 | local: { | 215 | local: { |
| 209 | get: getLocalVariable, | 216 | get: getLocalVariable, |