Export swipe_right in public/script.js and add swipe_right to getContext in st-context.js

This commit is contained in:
Samueras
2025-05-04 11:59:17 +02:00
parent 689637b36c
commit 27f2fac916

View File

@@ -50,6 +50,7 @@ import {
unshallowCharacter, unshallowCharacter,
deleteLastMessage, deleteLastMessage,
getCharacterCardFields, getCharacterCardFields,
swipe_right,
} from '../script.js'; } from '../script.js';
import { import {
extension_settings, extension_settings,
@@ -196,6 +197,7 @@ export function getContext() {
humanizedDateTime, humanizedDateTime,
updateMessageBlock, updateMessageBlock,
appendMediaToMessage, appendMediaToMessage,
swipe_right,
variables: { variables: {
local: { local: {
get: getLocalVariable, get: getLocalVariable,