[Feature] Enhanced MaskEditor to an Image Canvas (#4361)

Co-authored-by: duckcomfy <a@a.a>
This commit is contained in:
brucew4yn3rp
2025-07-24 02:23:50 -04:00
committed by GitHub
parent 37bfc53616
commit 83aa887456
6 changed files with 1055 additions and 456 deletions

View File

@@ -40,7 +40,7 @@ function rgbToHsl({ r, g, b }: RGB): HSL {
return { h, s, l }
}
function hexToRgb(hex: string): RGB {
export function hexToRgb(hex: string): RGB {
let r = 0,
g = 0,
b = 0