Fixed canvas resizing bug

The canvas size was not being updated after opening a png
This commit is contained in:
unsettledgames
2020-09-22 11:34:36 +02:00
parent 93c73f939c
commit b595026ea8
5 changed files with 36 additions and 8 deletions

View File

@ -291,6 +291,13 @@
<span>
Keep current ratio <input type = "checkbox" id = "rs-keep-ratio"/>
</span>
<span>
Resizing algorithm:
<select name = "resize-algorithm">
<option value = "nearest-neighbor">Nearest neighbour</option>
<option value = "bilinear-interpolation">Bilinear</option>
</select>
</span>
</br>
<button id = "resize-sprite-confirm">Resize sprite</button>
</div>