summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authoruntir_l <87096069+untir-l@users.noreply.github.com>2022-06-12 08:45:40 +0000
committeruntir-l <87096069+untir-l@users.noreply.github.com>2022-06-12 08:48:47 +0000
commit6bbcd4b180d9ad2550d3a3f4a2179f185db3bf21 (patch)
treec09b6a463e38f0c66ad7494f0b37e8e7886645b1 /web
parent023103612eeeb8681b65ec5e9114d206b2d9a1dc (diff)
downloadhitomezashi-6bbcd4b180d9ad2550d3a3f4a2179f185db3bf21.tar
hitomezashi-6bbcd4b180d9ad2550d3a3f4a2179f185db3bf21.tar.gz
hitomezashi-6bbcd4b180d9ad2550d3a3f4a2179f185db3bf21.zip
Web: make it easier to copy image by allowing canvas context menu
Diffstat (limited to 'web')
-rw-r--r--web/hitomezashi_web_shell.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/hitomezashi_web_shell.html b/web/hitomezashi_web_shell.html
index 8e53afe..cd19547 100644
--- a/web/hitomezashi_web_shell.html
+++ b/web/hitomezashi_web_shell.html
@@ -59,7 +59,7 @@
<p><label>background colour: <input name="bg_colour" type="color"></label></p>
</form>
<br>
- <canvas class="emscripten" id="canvas" oncontextmenu="event.preventDefault()" tabindex=-1></canvas>
+ <canvas class="emscripten" id="canvas" tabindex=-1></canvas>
<br>
<button id="downloadCanvas">download as image</button>
<script type='text/javascript'>
@@ -83,4 +83,4 @@
{{{ SCRIPT }}}
</body>
-</html> \ No newline at end of file
+</html>