mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-12-23 10:11:54 +00:00
Fix color swapping to allow swapping of colors with opacity less than 100% (#212)
This commit is contained in:
parent
435b34298d
commit
cd1ac3817d
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ export interface Color {
|
|||
alpha: number;
|
||||
}
|
||||
function newColor(input: any): Color {
|
||||
return { red: input.red * 255, green: input.green * 255, blue: input.blue * 255, alpha: input.alpha * 255 };
|
||||
return { red: input.red * 255, green: input.green * 255, blue: input.blue * 255, alpha: input.alpha };
|
||||
}
|
||||
|
||||
export interface UpdateWorkingColors {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue