Commit: 7871810481c9e02f7d03f6c59e8b08ed25363df5
Parent: db9e73a563863bb10b08be2bef12f7a18b048636
Author: Randy Palamar
Date: Thu, 1 Aug 2024 21:38:32 -0600
fix output colour when only changing in picker mode
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/main.c b/main.c
@@ -167,7 +167,7 @@ main(i32 argc, char *argv[])
}
v4 rgba = {0};
- switch (ctx.mode) {
+ switch (ctx.colour_mode) {
case CM_RGB: rgba = ctx.colour; break;
case CM_HSV: rgba = hsv_to_rgb(ctx.colour); break;
default: ASSERT(0); break;