From: Damyan Ivanov Date: Sun, 5 May 2019 14:07:12 +0000 (+0300) Subject: use a constant for the color wheel step size X-Git-Tag: v0.10.0~14 X-Git-Url: https://git.ktnx.net/?p=mobile-ledger.git;a=commitdiff_plain;h=c3d401c2ce5137fd8c3e8f4bf3b71b21dc881ccb use a constant for the color wheel step size --- 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 "