Fix double-click-maximize and backdrop

This commit is contained in:
Gregory Schier
2024-10-10 07:11:43 -07:00
parent 250625fc0e
commit f974a66086
6 changed files with 3126 additions and 4705 deletions

View File

@@ -98,7 +98,7 @@ export class YaakColor {
const h = this.hue;
const s = this.saturation;
const l = this.lightness;
const a = this.alpha; // Convert from 0-1 to 0-255
const a = this.alpha;
const [r, g, b] = parseColor(`hsl(${h},${s}%,${l}%)`).rgb;
return rgbaToHex(r, g, b, a);