From 5767c2fc5c664f96e1719e3832edfbd887856ee8 Mon Sep 17 00:00:00 2001 From: Josh birnholz Date: Mon, 24 Apr 2023 13:08:54 -0400 Subject: [PATCH] Add shortcut for flavor bar --- js/creator-23.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/creator-23.js b/js/creator-23.js index b1d8b2bd..395837e5 100644 --- a/js/creator-23.js +++ b/js/creator-23.js @@ -2318,6 +2318,9 @@ function writeText(textObject, targetContext) { if (document.querySelector('#info-artist').value == '') { rawText = rawText.replace('\uFFEE{elemidinfo-artist}', ''); } + if (rawText.includes('///')) { + rawText = rawText.replace(/\/\/\//g, '{flavor}'); + } if (rawText.includes('//')) { rawText = rawText.replace(/\/\//g, '{lns}'); }