mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-21 00:48:11 +08:00
Refactor many usages of Color to natively store linear not gamma (#2457)
This commit is contained in:
@@ -454,7 +454,7 @@ export class Gradient {
|
||||
}
|
||||
}
|
||||
|
||||
// All channels range from 0 to 1
|
||||
// All channels range are represented by 0-1, sRGB, gamma.
|
||||
export class Color {
|
||||
readonly red!: number;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user