diff --git a/src/components/ui/form/DialogueTextarea.tsx b/src/components/ui/form/DialogueTextarea.tsx index efb746e97..c56411e00 100644 --- a/src/components/ui/form/DialogueTextarea.tsx +++ b/src/components/ui/form/DialogueTextarea.tsx @@ -159,7 +159,8 @@ const DialogueTextareaWrapper = styled.div` } } - .Mentions__TokenGoto { + .Mentions__TokenGoto, + .Mentions__TokenInput { position: relative; z-index: 1; cursor: pointer; @@ -722,7 +723,7 @@ export const DialogueTextarea: FC = ({ const [offsetX, offsetY] = extractGotoCoords(code); return `${code[3] === "3" ? "P" : "M"}(${ code[3] === "3" || offsetX < 0 ? offsetX : `+${offsetX}` - },${code[3] === "3" || offsetY < 0 ? offsetY : `+${offsetY}`})`; + }﹐${code[3] === "3" || offsetY < 0 ? offsetY : `+${offsetY}`})`; }} hoverTransform={(code) => code[3] === "3" @@ -751,14 +752,14 @@ export const DialogueTextarea: FC = ({ isLoading={false} /> { const buttons = extractInputMask(code); - return `W(${buttons.join()})`; + return `W(${buttons.join("﹐")})`; }} hoverTransform={(_code: string) => l10n("FIELD_WAIT_UNTIL_BUTTON_PRESSED")