diff options
author | untir_l <87096069+untir-l@users.noreply.github.com> | 2022-06-11 16:15:23 +0000 |
---|---|---|
committer | untir_l <87096069+untir-l@users.noreply.github.com> | 2022-06-11 16:18:20 +0000 |
commit | 023103612eeeb8681b65ec5e9114d206b2d9a1dc (patch) | |
tree | 7082030a96ae4a1eeedd52e85f43094cfba92a6e /web/hitomezashi_web_shell.html | |
parent | 4f6198b965357ca63daf24d7767be715987fe58b (diff) | |
download | hitomezashi-023103612eeeb8681b65ec5e9114d206b2d9a1dc.tar hitomezashi-023103612eeeb8681b65ec5e9114d206b2d9a1dc.tar.gz hitomezashi-023103612eeeb8681b65ec5e9114d206b2d9a1dc.zip |
Add screenshot of web UI to README.md, add back download button, misc.
Added assert(0) to the end of main() in hitomezashi_web.c indicating that it
is unreachable.
Diffstat (limited to 'web/hitomezashi_web_shell.html')
-rw-r--r-- | web/hitomezashi_web_shell.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/web/hitomezashi_web_shell.html b/web/hitomezashi_web_shell.html index e0e23d4..8e53afe 100644 --- a/web/hitomezashi_web_shell.html +++ b/web/hitomezashi_web_shell.html @@ -58,8 +58,10 @@ <p><label>foreground colour: <input name="fg_colour" type="color"></label></p> <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> + <br> + <button id="downloadCanvas">download as image</button> <script type='text/javascript'> var Module = { canvas: (function () { |