From 6abe462d68264ea290dd6d688891860d02449d03 Mon Sep 17 00:00:00 2001
From: O-01-67 <68935009+O-01-67@users.noreply.github.com>
Date: Wed, 6 Jul 2022 23:23:38 -0400
Subject: [PATCH] Added clickable prompt spawner in description text
as a test
---
mods/replace.js | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/mods/replace.js b/mods/replace.js
index cd5f3905..c458b5bf 100644
--- a/mods/replace.js
+++ b/mods/replace.js
@@ -33,9 +33,9 @@ function replaceElementPrompt() {
}
function updateReplaceDescriptions() {
- elements.replace.desc = "Changes pixels of a specified type to another specified type.
Currently replacing \"" + replaceFrom + "\" with \"" + replaceTo + "\".
Press [\"] to open the replace prompt.";
- elements.alt_replace.desc = "Changes pixels of a specified type to another specified type, but keeping their non-element-based properties.
Currently replacing \"" + replaceFrom + "\" with \"" + replaceTo + "\".
Press [\"] to open the replace prompt.";
- elements.alt_alt_replace.desc = "Changes pixels of a specified type to another specified type, but keeping their non-element-based properties except for color.
Currently replacing \"" + replaceFrom + "\" with \"" + replaceTo + "\".
Press [\"] to open the replace prompt.";
+ elements.replace.desc = "Changes pixels of a specified type to another specified type.
Currently replacing \"" + replaceFrom + "\" with \"" + replaceTo + "\".
Press [\"] or click here to open the replace prompt.";
+ elements.alt_replace.desc = "Changes pixels of a specified type to another specified type, but keeping their non-element-based properties.
Currently replacing \"" + replaceFrom + "\" with \"" + replaceTo + "\".
Press [\"] or click here to open the replace prompt.";
+ elements.alt_alt_replace.desc = "Changes pixels of a specified type to another specified type, but keeping their non-element-based properties except for color.
Currently replacing \"" + replaceFrom + "\" with \"" + replaceTo + "\".
Press [\"] or click here to open the replace prompt.";
};
elements.replace = {
@@ -46,7 +46,7 @@ elements.replace = {
};
},
category: "tools",
- desc: "Changes pixels of a specified type to another specified type.
Currently replacing \"" + replaceFrom + "\" with \"" + replaceTo + "\".
Press [KEY] to open the replace prompt.",
+ desc: "Changes pixels of a specified type to another specified type.
Currently replacing \"" + replaceFrom + "\" with \"" + replaceTo + "\".
Press [\"] or click here to open the replace prompt.",
};
elements.alt_replace = {
@@ -57,7 +57,7 @@ elements.alt_replace = {
};
},
category: "tools",
- desc: "Changes pixels of a specified type to another specified type, but keeping their non-element-based properties.
Currently replacing \"" + replaceFrom + "\" with \"" + replaceTo + "\".
Press [KEY] to open the replace prompt.",
+ desc: "Changes pixels of a specified type to another specified type, but keeping their non-element-based properties.
Currently replacing \"" + replaceFrom + "\" with \"" + replaceTo + "\".
Press [\"] or click here to open the replace prompt.",
hidden: true,
};
@@ -70,6 +70,6 @@ elements.alt_alt_replace = {
};
},
category: "tools",
- desc: "Changes pixels of a specified type to another specified type, but keeping their non-element-based properties except for color.
Currently replacing \"" + replaceFrom + "\" with \"" + replaceTo + "\".
Press [KEY] to open the replace prompt.",
+ desc: "Changes pixels of a specified type to another specified type, but keeping their non-element-based properties except for color.
Currently replacing \"" + replaceFrom + "\" with \"" + replaceTo + "\".
Press [\"] or click here to open the replace prompt.",
hidden: true,
-};
\ No newline at end of file
+};