mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-12-02 04:54:06 +01:00
Fix double-click-maximize and backdrop
This commit is contained in:
1 parent
250625fc0e
commit
f974a66086
6 files changed
+3126
-4705
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user