From c3d401c2ce5137fd8c3e8f4bf3b71b21dc881ccb Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Sun, 5 May 2019 17:07:12 +0300 Subject: [PATCH] use a constant for the color wheel step size --- tools/gen-styles | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/gen-styles b/tools/gen-styles index 0e894e9f..d158d8bf 100644 --- a/tools/gen-styles +++ b/tools/gen-styles @@ -140,8 +140,10 @@ warn sprintf( 's%1.3f, l%1.3f -> %s', my $baseTheme = "AppTheme.NoActionBar"; +use constant STEP_DEGREES => 15; + # # hsb -# for( my $hue = 0; $hue < 360; $hue += 15 ) { +# for( my $hue = 0; $hue < 360; $hue += STEP_DEGREES ) { # printf "