Revert "config: don't allow colors.flash-alpha to be 1.0"

This reverts commit 56d2c3e990.
This commit is contained in:
Alexander Orzechowski 2025-01-04 21:36:33 -05:00 committed by Daniel Eklöf
parent c2add346ad
commit 301101e7d9
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 2 additions and 26 deletions

View file

@ -1445,8 +1445,8 @@ parse_section_colors(struct context *ctx)
if (!value_to_float(ctx, &alpha))
return false;
if (alpha < 0. || alpha >= 1.) {
LOG_CONTEXTUAL_ERR("not in range 0.0-0.999");
if (alpha < 0. || alpha > 1.) {
LOG_CONTEXTUAL_ERR("not in range 0.0-1.0");
return false;
}