Commit Graph

5 Commits

Author SHA1 Message Date
Aarni Koskela f6a40a2ffa Fix unused variables 2023-04-30 22:26:11 +03:00
Aarni Koskela 8ccc27127b Fix a whole bunch of implicit globals 2023-04-30 22:08:52 +03:00
Aarni Koskela ee973dcf1d imageMaskFix.js: fix event listeners to not use anonymous trampoline 2023-04-30 14:46:03 +03:00
fortypercnt a1d3cbf92c Fix #2750
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-10-17 07:48:28 +03:00
Connum e16b9dc819 resize mask canvases to fit underlying image (fixes #668) 2022-09-22 22:36:47 +03:00