colourpicker

Simple Colour Picker written in C
git clone anongit@rnpnr.xyz:colourpicker.git
Log | Files | Refs | Feed | Submodules | README | LICENSE

Commit: 2929271233a4f8166cf9b784dfe23aaa0ee86f2b
Parent: 746ab0177d74fc583dba89664e60db684a7adc67
Author: Randy Palamar
Date:   Fri, 26 Jul 2024 22:33:11 -0600

move rgb and mode text above sliders

Diffstat:
Mcolourpicker.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/colourpicker.c b/colourpicker.c @@ -576,10 +576,10 @@ do_colour_picker(ColourPickerCtx *ctx) Rect sb = ca; ca.size.h *= 0.15; - f32 y_pad = 0.55 * ca.size.h; + f32 y_pad = 0.525 * ca.size.h; sb.size.h *= 0.1; - sb.pos.y += upper.size.h - sb.size.h; + ca.pos.y += 1.2 * sb.size.h; do_status_bar(ctx, sb); do_colour_stack(ctx, sa);