This commit is contained in:
synth-ruiner 2018-01-26 18:38:22 +00:00
parent 23e983be7d
commit 60b4846779
1 changed files with 4 additions and 3 deletions

View File

@ -34,9 +34,9 @@ The stylesheet and html are autogenerated; if you want to alter them please edit
I had to hack the included Croppie plugin to allow the user to upload images from their own computer without falling foul of CORS restrictions. So the version bundled here is non-standard. It's a one-line change: I had to hack the included Croppie plugin to allow the user to upload images from their own computer without falling foul of CORS restrictions. So the version bundled here is non-standard. It's a one-line change:
``` ```
croppie.js:182 (original) // croppie.js:182 (original)
if (src.match(/^(https)?:\/\/|^\/\//)) { if (src.match(/^(https)?:\/\/|^\/\//)) {
croppie.js:182 (mine) // croppie.js:182 (mine)
if (src.match(/^(file|https)?:\/\/|^\/\//)) { if (src.match(/^(file|https)?:\/\/|^\/\//)) {
``` ```
@ -46,6 +46,7 @@ if (src.match(/^(file|https)?:\/\/|^\/\//)) {
## to do ## to do
* make it clear that the user can paste in their own game data
* allow user to save output as image, or tweet it :) * allow user to save output as image, or tweet it :)
* *user can currently right-click -> Save As but the 128x128 size is not great* * *user can currently right-click -> Save As but the 128x128 size is not great*
* re-style the damn thing * re-style the damn thing