aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/editor.mjs
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-09-11 15:44:35 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-09-11 15:44:35 +0800
commit7a9977d2c063fff718c052b2e8519c0c758435b3 (patch)
treef264146186400e274793dd186f04f5a16075b615 /src/editor.mjs
parent19fcf10bfac9fbf0849f08c93c38809ad9108e5f (diff)
fix: Shortcut for toggling map generation
Diffstat (limited to 'src/editor.mjs')
-rw-r--r--src/editor.mjs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/editor.mjs b/src/editor.mjs
index 1955800..77211f6 100644
--- a/src/editor.mjs
+++ b/src/editor.mjs
@@ -53,7 +53,7 @@ const editor = new EasyMDE({
53 name: 'map', 53 name: 'map',
54 title: 'Toggle Map Generation', 54 title: 'Toggle Map Generation',
55 text: "🌏", 55 text: "🌏",
56 action: toggleMaps(HtmlContainer), 56 action: () => toggleMaps(HtmlContainer),
57 }, 57 },
58 { 58 {
59 name: 'debug', 59 name: 'debug',