diff --git a/src/application/applicationstate.c b/src/application/applicationstate.c index 28b5735..51830b6 100644 --- a/src/application/applicationstate.c +++ b/src/application/applicationstate.c @@ -143,7 +143,7 @@ void vektor_appstate_new(VektorWidgetState* wstate, VektorAppState* stateOut) { *stateOut->shapeBuffer = (VektorShapeBuffer){0}; stateOut->canvas = malloc(sizeof(VektorCanvas)); stateOut->widgetState = wstate; - stateOut->currentColor = vektor_color_blank; + stateOut->currentColor = vektor_color_solid(0, 0, 0); stateOut->selectedShape = NULL; vektor_canvas_init(wstate, stateOut->canvas, stateOut->shapeBuffer); diff --git a/src/ui/widgets/colorwheel.c b/src/ui/widgets/colorwheel.c index baa27ad..19487c8 100644 --- a/src/ui/widgets/colorwheel.c +++ b/src/ui/widgets/colorwheel.c @@ -362,7 +362,8 @@ VektorColor vektor_color_wheel_get_color(VektorColorWheel* wheel) { return (VektorColor) { .r = (unsigned char)(r*255), .g = (unsigned char)(g*255), - .b = (unsigned char)(b*255) + .b = (unsigned char)(b*255) , + .a = 255 }; }