aboutsummaryrefslogtreecommitdiff
path: root/javascript/imageMaskFix.js
AgeCommit message (Collapse)Author
2022-10-17Fix #2750fortypercnt
left / top alignment was necessary with gradio 3.4.1. In gradio 3.5 the parent div of the image mask is centered, so the left / top alignment put the mask in the wrong place as described in #2750 #2795 #2805. This fix was tested on Windows 10 / Chrome.
2022-09-22resize mask canvases to fit underlying image (fixes #668)Connum